diff --git a/nova/tests/functional/api_sample_tests/test_fixed_ips.py b/nova/tests/functional/api_sample_tests/test_fixed_ips.py index c02213215354..32d46b4de32e 100644 --- a/nova/tests/functional/api_sample_tests/test_fixed_ips.py +++ b/nova/tests/functional/api_sample_tests/test_fixed_ips.py @@ -17,6 +17,7 @@ from nova import exception from nova.tests.functional.api_sample_tests import test_servers from nova.tests.unit.objects import test_network from nova.tests.unit import utils as test_utils +from nova.tests import uuidsentinel as uuids CONF = nova.conf.CONF @@ -42,7 +43,7 @@ class FixedIpTest(test_servers.ServersSampleBase): 'address': '192.168.1.1', 'network_id': 1, 'virtual_interface_id': 1, - 'instance_uuid': '1', + 'instance_uuid': uuids.instance_1, 'allocated': False, 'leased': False, 'reserved': False, @@ -57,7 +58,7 @@ class FixedIpTest(test_servers.ServersSampleBase): 'address': '192.168.1.2', 'network_id': 1, 'virtual_interface_id': 2, - 'instance_uuid': '2', + 'instance_uuid': uuids.instance_2, 'allocated': False, 'leased': False, 'reserved': False,