summaryrefslogtreecommitdiff
path: root/nova/tests/unit/objects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-13 01:14:43 +0000
committerGerrit Code Review <review@openstack.org>2017-07-13 01:14:43 +0000
commit61551786a8ce1628dcf73faf7f3ac514c99587af (patch)
treecda9dd637d634d7985897483bf86dc688c90d0c6 /nova/tests/unit/objects
parentb70476304bb4e338a8787f5d5a6465441c1fb1aa (diff)
parentfeddee9b29729bdcb07c0f2cb416ba4b2ae7912c (diff)
downloadnova-61551786a8ce1628dcf73faf7f3ac514c99587af.tar.gz
Merge "Use PCIAddressField in oslo.versionedobjects"
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()