fix test.
This commit is contained in:
		| @@ -24,7 +24,7 @@ class TestCustomersFromTryton(TestCase): | |||||||
|     def test_create_import_customer(self, mock_connect, mock_call): |     def test_create_import_customer(self, mock_connect, mock_call): | ||||||
|         def fake_call(*args, **kwargs): |         def fake_call(*args, **kwargs): | ||||||
|             party_search = 'model.party.party.search' |             party_search = 'model.party.party.search' | ||||||
|             search_args = [[], 0, 1000, [['rec_name', 'ASC'], ['id', None]], {'company': 1}] |             search_args = [[], 0, 1000, [['name', 'ASC'], ['id', None]], {'company': 1}] | ||||||
|  |  | ||||||
|             if (args == (party_search, search_args)): |             if (args == (party_search, search_args)): | ||||||
|                 return [5, 6, 7, 8] |                 return [5, 6, 7, 8] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user