diff --git a/neutron/tests/unit/plugins/ml2/test_ext_portsecurity.py b/neutron/tests/unit/plugins/ml2/test_ext_portsecurity.py index be1de3722d6..b813d8aebfc 100644 --- a/neutron/tests/unit/plugins/ml2/test_ext_portsecurity.py +++ b/neutron/tests/unit/plugins/ml2/test_ext_portsecurity.py @@ -41,6 +41,7 @@ class PSExtDriverTestCase(test_plugin.Ml2PluginV2TestCase, 'shared': False, 'admin_state_up': True, 'status': 'ACTIVE'}} + network = None try: network = _core_plugin.create_network(admin_ctx, args) _value = network[psec.PORTSECURITY]