#NEWLINE# def test_find_bulk_two( self ) : #NEWLINE# #INDENT# self . requests_mock . register_uri ( 'GET' , ( self . BASE_URL + '/qaz' ) , json = api_fakes . LIST_RESP , status_code = 200 ) #NEWLINE# ret = self . api . find_bulk ( 'qaz' , id = '1' , name = 'alpha' ) #NEWLINE# self . assertEqual ( [ api_fakes . LIST_RESP [ 0 ] ] , ret ) #NEWLINE# ret = self . api . find_bulk ( 'qaz' , id = '1' , name = 'beta' ) #NEWLINE# self . assertEqual ( [ ] , ret ) #NEWLINE# ret = self . api . find_bulk ( 'qaz' , id = '1' , error = 'beta' ) #NEWLINE# self . assertEqual ( [ ] , ret )