Fix bulk port tag test_type_args_passed_to_extension()

It was checking the call arguments incorrectly, which was
caught by unittest.mock but not by mock library.

Trivialfix

Change-Id: I00b8cd364c869eabb6b1cfe1f7ed4eb8e5f22a87
This commit is contained in:
Brian Haley 2020-03-06 09:21:03 -05:00
parent 3e7ca41190
commit db26ded539
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class TagPortsDuringBulkCreationTestCase(test_plugin.Ml2PluginV2TestCase):
ports_req = self.new_create_request('ports', req_body)
res = ports_req.get_response(self.api)
self.assertEqual(201, res.status_int)
self.assertIsInstance(patched_method.call_args.args[1],
self.assertIsInstance(patched_method.call_args[0][1],
dict)
self.assertIsInstance(patched_method.call_args.args[2],
self.assertIsInstance(patched_method.call_args[0][2],
dict)