policies: fix engine tests checking wrong key
This commit is contained in:
parent
2e42da11ea
commit
a2bddc6d91
|
@ -125,4 +125,4 @@ class TestPolicyProcess(TestCase):
|
|||
self.assertEqual(len(events), 1)
|
||||
event = events.first()
|
||||
self.assertEqual(event.user["username"], self.user.username)
|
||||
self.assertIn("division by zero", event.context["error"])
|
||||
self.assertIn("division by zero", event.context["message"])
|
||||
|
|
Reference in New Issue