Modify incorrect registry test cases

Registry object has no attributes 'cpuset' and 'cpu_policy'

Change-Id: Id0d2d6fab54714373cc53047443e3065a9bb8a46
This commit is contained in:
weikeyou 2020-01-08 17:49:01 +08:00
parent 69c311a1f1
commit 2bf646e9bd
1 changed files with 1 additions and 3 deletions

View File

@ -26,9 +26,7 @@ class TestRegistryObject(base.DbTestCase):
def setUp(self):
super(TestRegistryObject, self).setUp()
self.fake_cpuset = utils.get_cpuset_dict()
self.fake_registry = utils.get_test_registry(
cpuset=self.fake_cpuset, cpu_policy='dedicated')
self.fake_registry = utils.get_test_registry()
def test_get_by_uuid(self):
uuid = self.fake_registry['uuid']