summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_virt.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/nova/tests/test_virt.py b/nova/tests/test_virt.py
index 958c8e3e2..5a010d347 100644
--- a/nova/tests/test_virt.py
+++ b/nova/tests/test_virt.py
@@ -617,7 +617,8 @@ class IptablesFirewallTestCase(test.TestCase):
instance_ref = db.instance_create(self.context,
{'user_id': 'fake',
'project_id': 'fake',
- 'mac_address': '56:12:12:12:12:12'})
+ 'mac_address': '56:12:12:12:12:12',
+ 'instance_type': 'm1.small'})
ip = '10.11.12.13'
network_ref = db.project_get_network(self.context,
@@ -840,7 +841,8 @@ class NWFilterTestCase(test.TestCase):
instance_ref = db.instance_create(self.context,
{'user_id': 'fake',
'project_id': 'fake',
- 'mac_address': '00:A0:C9:14:C8:29'})
+ 'mac_address': '00:A0:C9:14:C8:29',
+ 'instance_type': 'm1.small'})
inst_id = instance_ref['id']
ip = '10.11.12.13'