diff --git a/quantum/tests/unit/test_api_v2.py b/quantum/tests/unit/test_api_v2.py index e426e4d1bf..2ed703bd12 100644 --- a/quantum/tests/unit/test_api_v2.py +++ b/quantum/tests/unit/test_api_v2.py @@ -1245,7 +1245,8 @@ class NotificationTest(APIv2TestBase): if opname == 'create': initial_input[resource]['tenant_id'] = _uuid() res = self.api.post_json( - _get_path('networks'), initial_input, expected_errors) + _get_path('networks'), + initial_input, expect_errors=expected_errors) if opname == 'update': res = self.api.put_json( _get_path('networks', id=_uuid()),