Skip to content

Commit

Permalink
Codestyle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vladvildanov committed Sep 19, 2024
1 parent 6d63a59 commit 18a4d3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ def test_clears_cache_on_disconnect(self, mock_connection, cache_conf):
assert len(cache.get_collection()) == 0

@pytest.mark.skipif(
platform.python_implementation() == "PyPy", reason="Pypy doesn't support side_effect"
platform.python_implementation() == "PyPy",
reason="Pypy doesn't support side_effect",
)
def test_read_response_returns_cached_reply(self, mock_cache, mock_connection):
mock_connection.retry = "mock"
Expand Down Expand Up @@ -531,7 +532,8 @@ def test_read_response_returns_cached_reply(self, mock_cache, mock_connection):
)

@pytest.mark.skipif(
platform.python_implementation() == "PyPy", reason="Pypy doesn't support side_effect"
platform.python_implementation() == "PyPy",
reason="Pypy doesn't support side_effect",
)
def test_triggers_invalidation_processing_on_another_connection(
self, mock_cache, mock_connection
Expand Down

0 comments on commit 18a4d3d

Please sign in to comment.