Fix error message in test assert
The patch I5857e927a830914c96e040936804e322baccc24c changed the error message emitted by placement and that broke the test_fail_if_incorrect_aggregate_uuid functional test of the client as it was asserting the old error message. Actually the test does not check any client behavior as the client does not do UUID validation. Therefore this patch removes this test case. Change-Id: If5fc16d50af1f8f60735ab81d1f5d138c9ad104b Closes-Bug: #1768495
This commit is contained in:
parent
844414861a
commit
61d5173f2c
|
@ -156,12 +156,6 @@ class TestResourceProvider(base.BaseTestCase):
|
|||
class TestResourceProvider14(base.BaseTestCase):
|
||||
VERSION = '1.4'
|
||||
|
||||
def test_fail_if_incorrect_aggregate_uuid(self):
|
||||
# aggregate_uuid requires the uuid like format
|
||||
self.assertCommandFailed(
|
||||
'Invalid uuid value', self.resource_provider_list,
|
||||
aggregate_uuids=['fake_uuid'])
|
||||
|
||||
def test_return_empty_list_for_nonexistent_aggregate(self):
|
||||
self.resource_provider_create()
|
||||
agg = str(uuid.uuid4())
|
||||
|
|
Loading…
Reference in New Issue