From 49d40d4337503578b272289e1b312630b96c582a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 17:35:00 +0100 Subject: [PATCH] admin: fix linting --- authentik/admin/tests/test_tasks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/authentik/admin/tests/test_tasks.py b/authentik/admin/tests/test_tasks.py index 17e3630de..a1ccc4add 100644 --- a/authentik/admin/tests/test_tasks.py +++ b/authentik/admin/tests/test_tasks.py @@ -50,7 +50,8 @@ class TestAdminTasks(TestCase): self.assertEqual(cache.get(VERSION_CACHE_KEY), "99999999.9999999") self.assertTrue( Event.objects.filter( - action=EventAction.UPDATE_AVAILABLE, context__new_version="99999999.9999999" + action=EventAction.UPDATE_AVAILABLE, + context__new_version="99999999.9999999", ).exists() ) # test that a consecutive check doesn't create a duplicate event @@ -58,7 +59,8 @@ class TestAdminTasks(TestCase): self.assertEqual( len( Event.objects.filter( - action=EventAction.UPDATE_AVAILABLE, context__new_version="99999999.9999999" + action=EventAction.UPDATE_AVAILABLE, + context__new_version="99999999.9999999", ) ), 1,