diff --git a/neutron/tests/unit/db/test_ipam_pluggable_backend.py b/neutron/tests/unit/db/test_ipam_pluggable_backend.py index 8254bdb7289..abd0f7d1438 100644 --- a/neutron/tests/unit/db/test_ipam_pluggable_backend.py +++ b/neutron/tests/unit/db/test_ipam_pluggable_backend.py @@ -76,7 +76,7 @@ class TestDbBasePluginIpam(test_db_base.NeutronDbPluginV2TestCase): 'subnet': mock.Mock(), 'subnets': mock.Mock(), 'port': { - 'device_owner': n_const.DEVICE_OWNER_COMPUTE_PREFIX + 'None' + 'device_owner': constants.DEVICE_OWNER_COMPUTE_PREFIX + 'None' }, 'subnet_request': ipam_req.SpecificSubnetRequest( self.tenant_id,