From 04ae6e6c1003f01728ba7698761822ccca7164f1 Mon Sep 17 00:00:00 2001 From: Spyros Date: Tue, 24 Oct 2023 19:15:05 +0100 Subject: [PATCH] lint --- application/tests/web_main_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/tests/web_main_test.py b/application/tests/web_main_test.py index fb0fab914..ccb7ad7d3 100644 --- a/application/tests/web_main_test.py +++ b/application/tests/web_main_test.py @@ -22,6 +22,7 @@ def id(self): def get_status(self): return rq.job.JobStatus.STARTED + class TestMain(unittest.TestCase): def tearDown(self) -> None: sqla.session.remove() @@ -578,7 +579,9 @@ def test_smartlink(self) -> None: @patch.object(redis, "from_url") @patch.object(db, "Node_collection") - def test_gap_analysis_from_cache_full_response(self,db_mock, redis_conn_mock) -> None: + def test_gap_analysis_from_cache_full_response( + self, db_mock, redis_conn_mock + ) -> None: expected = {"result": "hello"} redis_conn_mock.return_value.exists.return_value = True redis_conn_mock.return_value.get.return_value = json.dumps(expected)