Fixed typo in test case

This commit is contained in:
tengqm 2015-03-15 19:45:13 +08:00
parent 0fdf1c1be1
commit 0e78eb08fb
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class PolicyTest(base.SenlinTestCase):
p = self.eng.policy_create(self.ctx, 'p-1', 'TestPolicy', {})
for identity in [p['id'], p['id'][:6], 'p-1']:
result = self.eng.policy_get(self.ctx, p['id'])
result = self.eng.policy_get(self.ctx, identity)
self.assertIsInstance(result, dict)
self.assertEqual(p['id'], result['id'])