summaryrefslogtreecommitdiff
path: root/nova/tests/unit/objects
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/unit/objects')
-rw-r--r--nova/tests/unit/objects/test_fields.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/nova/tests/unit/objects/test_fields.py b/nova/tests/unit/objects/test_fields.py
index cb891218e5..d220da32f8 100644
--- a/nova/tests/unit/objects/test_fields.py
+++ b/nova/tests/unit/objects/test_fields.py
@@ -640,28 +640,6 @@ class TestNotificationAction(TestField):
self.assertRaises(ValueError, self.field.stringify, 'magic')
-class TestPCIAddress(TestField):
- def setUp(self):
- super(TestPCIAddress, self).setUp()
- self.field = fields.Field(fields.PCIAddressField())
- self.coerce_good_values = [('0000:00:02.0', '0000:00:02.0')]
- self.coerce_bad_values = [
- '000:00:02.0',
- '0000:0:02.0',
- '0000:00:2.0',
- '0000:00:02.',
- '-000:00:02.0',
- '0000:0-:02.0',
- '0000:00:-2.0',
- '0000:00:02.-',
- '000000:02.0',
- '0000:0:02.0',
- '0000:00:020',
- ]
- self.to_primitive_values = self.coerce_good_values
- self.from_primitive_values = self.coerce_good_values
-
-
class TestUSBAddress(TestField):
def setUp(self):
super(TestUSBAddress, self).setUp()