diff --git a/authentik/lib/tests/test_sentry.py b/authentik/lib/tests/test_sentry.py index 7ae158103..023c82ba1 100644 --- a/authentik/lib/tests/test_sentry.py +++ b/authentik/lib/tests/test_sentry.py @@ -7,12 +7,12 @@ from authentik.lib.sentry import SentryIgnoredException, before_send class TestSentry(TestCase): """test sentry integration""" - def error_not_sent(self): + def test_error_not_sent(self): """Test SentryIgnoredError not sent""" self.assertIsNone( before_send(None, {"exc_info": (0, SentryIgnoredException(), 0)}) ) - def error_sent(self): + def test_error_sent(self): """Test error sent""" self.assertIsNone(before_send(None, {"exc_info": (0, ValueError(), 0)}))