#NEWLINE# def test__init__( self ) : #NEWLINE# #INDENT# default_client = Client ( host = self . host ) #NEWLINE# self . assertEqual ( default_client . host , self . host ) #NEWLINE# self . assertEqual ( default_client . request_headers , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# methods = [ 'delete' , 'get' , 'patch' , 'post' , 'put' ] #NEWLINE# self . assertEqual ( default_client . methods , methods ) #NEWLINE# self . assertEqual ( default_client . _version , None ) #NEWLINE# self . assertEqual ( default_client . _url_path , [ ] ) #NEWLINE# request_headers = { #NEWLINE# #INDENT# 'X-Test' : 'test' , #NEWLINE# 'X-Test2' : 1 , #NEWLINE# #UNINDENT# } #NEWLINE# version = 3 #NEWLINE# client = Client ( host = self . host , request_headers = request_headers , version = self ) #NEWLINE# self . assertEqual ( client . host , self . host ) #NEWLINE# self . assertEqual ( client . request_headers , request_headers ) #NEWLINE# methods = [ 'delete' , 'get' , 'patch' , 'post' , 'put' ] #NEWLINE# self . assertEqual ( client . methods , methods ) #NEWLINE# self . assertEqual ( client . _version , 3 ) #NEWLINE# self . assertEqual ( client . _url_path , [ ] )