Fixed typo in test case

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

View File

@ -80,7 +80,7 @@ class ProfileTest(base.SenlinTestCase):
p = self.eng.profile_create(self.ctx, 'p-1', 'TestProfile', {})
for identity in [p['id'], p['id'][:6], 'p-1']:
result = self.eng.profile_get(self.ctx, p['id'])
result = self.eng.profile_get(self.ctx, identity)
self.assertIsInstance(result, dict)
self.assertEqual(p['id'], result['id'])