Fix functional test for policy type listing
This patch fixes the funtional test for policy type listing. We have changed the names of builtin policy types. Change-Id: I9f04ab2a4245e8946db3a0255658676cc5f600ab
This commit is contained in:
parent
f72d6eb693
commit
fc263902e8
|
@ -20,5 +20,5 @@ class TestPolicyType(base.SenlinFunctionalTest):
|
|||
# Check that listing policy types works.
|
||||
policy_types = test_api.list_policy_types(self.client)
|
||||
policy_names = [p['name'] for p in policy_types]
|
||||
self.assertIn('DeletionPolicy', policy_names)
|
||||
self.assertIn('ScalingInPolicy', policy_names)
|
||||
self.assertIn('senlin.policy.deletion', policy_names)
|
||||
self.assertIn('senlin.policy.scaling', policy_names)
|
||||
|
|
Loading…
Reference in New Issue