Fixes tests broken by #3721

This commit is contained in:
shamoon 2023-06-30 08:36:47 -07:00
parent feb4901620
commit 63ab9972da

View File

@ -72,7 +72,7 @@ class TestFailedLoginLogging(TestCase):
self.assertEqual(
logs.output,
[
"INFO:paperless.auth:Login failed for user `john lennon` from IP `177.139.233.139.`",
"INFO:paperless.auth:Login failed for user `john lennon` from IP `177.139.233.139`.",
],
)
@ -96,6 +96,6 @@ class TestFailedLoginLogging(TestCase):
self.assertEqual(
logs.output,
[
"INFO:paperless.auth:Login failed for user `john lennon` from private IP `10.0.0.1.`",
"INFO:paperless.auth:Login failed for user `john lennon` from private IP `10.0.0.1`.",
],
)