Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 24, 2023
1 parent e387199 commit 04ae6e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/tests/web_main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 04ae6e6

Please sign in to comment.