trunk infected with non-pep8 code
This commit is contained in:
@@ -66,7 +66,7 @@ class DbApiTestCase(test.TestCase):
|
|||||||
result = db.fixed_ip_get_all(self.context)
|
result = db.fixed_ip_get_all(self.context)
|
||||||
values = {'instance_type_id': FLAGS.default_instance_type,
|
values = {'instance_type_id': FLAGS.default_instance_type,
|
||||||
'image_ref': FLAGS.vpn_image_id,
|
'image_ref': FLAGS.vpn_image_id,
|
||||||
'project_id': self.project.id
|
'project_id': self.project.id,
|
||||||
}
|
}
|
||||||
instance = db.instance_create(self.context, values)
|
instance = db.instance_create(self.context, values)
|
||||||
result = db.instance_get_project_vpn(self.context, self.project.id)
|
result = db.instance_get_project_vpn(self.context, self.project.id)
|
||||||
@@ -76,7 +76,7 @@ class DbApiTestCase(test.TestCase):
|
|||||||
result = db.fixed_ip_get_all(self.context)
|
result = db.fixed_ip_get_all(self.context)
|
||||||
values = {'instance_type_id': FLAGS.default_instance_type,
|
values = {'instance_type_id': FLAGS.default_instance_type,
|
||||||
'image_ref': FLAGS.vpn_image_id,
|
'image_ref': FLAGS.vpn_image_id,
|
||||||
'project_id': self.project.id
|
'project_id': self.project.id,
|
||||||
}
|
}
|
||||||
instance = db.instance_create(self.context, values)
|
instance = db.instance_create(self.context, values)
|
||||||
_setup_networking(instance.id)
|
_setup_networking(instance.id)
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ class LibvirtConnTestCase(test.TestCase):
|
|||||||
'mac_address': 'fake',
|
'mac_address': 'fake',
|
||||||
'ip_address': 'fake',
|
'ip_address': 'fake',
|
||||||
'dhcp_server': 'fake',
|
'dhcp_server': 'fake',
|
||||||
'extra_params': 'fake'
|
'extra_params': 'fake',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Creating mocks
|
# Creating mocks
|
||||||
|
|||||||
Reference in New Issue
Block a user