This commit is contained in:
Maximilien Rigaut 2022-03-04 16:20:56 +01:00
parent 72a0950c97
commit 7fa95ea140
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class TestLogging(TestCase):
self.assertEqual(captured.records[0].levelname, "CRITICAL")
self.assertEqual(captured.records[0].msg, "test message")
def test_exception__str__():
"""
Test the __str__ method of the exception, to make sure it is working