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:
tengqm 2015-09-01 02:53:39 -04:00
parent f72d6eb693
commit fc263902e8
1 changed files with 2 additions and 2 deletions

View File

@ -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)