Merge "Use DEVICE_OWNER_COMPUTE_PREFIX from neutron-lib"

This commit is contained in:
Jenkins 2016-07-20 17:46:47 +00:00 committed by Gerrit Code Review
commit 0166b2cfd7

View File

@ -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,