Fixed typo in policy_delete operation test case (engine)

This commit is contained in:
tengqm 2015-03-16 16:37:13 +08:00
parent d3794eb16f
commit f5da72a5b6
1 changed files with 1 additions and 1 deletions

View File

@ -354,6 +354,6 @@ class PolicyTest(base.SenlinTestCase):
def test_policy_delete_not_found(self):
ex = self.assertRaises(rpc.ExpectedException,
self.eng.policy_get, self.ctx, 'Bogus')
self.eng.policy_delete, self.ctx, 'Bogus')
self.assertEqual(exception.PolicyNotFound, ex.exc_info[0])