#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( CustomsItemTest , self ) . setUp ( ) #NEWLINE# def get_http_client( * args , **kwargs ) : #NEWLINE# #INDENT# return self . request_client ( * args , ** kwargs ) #NEWLINE# #UNINDENT# self . client_patcher = patch ( 'shippo.http_client.new_default_http_client' ) #NEWLINE# client_mock = self . client_patcher . start ( ) #NEWLINE# client_mock . side_effect = get_http_client