diff --git a/authentik/policies/tests/test_process.py b/authentik/policies/tests/test_process.py index 3dfac26ba..e1908fb78 100644 --- a/authentik/policies/tests/test_process.py +++ b/authentik/policies/tests/test_process.py @@ -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"])