cpc_object_id is breaking in unit test

After new version of os-dpm-1.1.0 cpc_object_id
is breaking in unit test

Change-Id: Ic17ff50549756728c1213a946d98b0fe2203e813
Signed-off-by: Prabhat Ranjan <pranjank@in.ibm.com>
This commit is contained in:
Prabhat Ranjan 2017-07-25 14:25:21 +05:30
parent c69f6d63d3
commit 2c17a2f354
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ class DPMdriverInitHostTestCase(TestCase):
self.dpmdriver.init_host(None)
def test_cpc_not_exists(self):
self.flags(group="dpm", cpc_object_id="abc")
self.flags(group="dpm",
cpc_object_id="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa")
self.assertRaises(SystemExit,
self.dpmdriver.init_host, None)