Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhousheng06 committed Dec 16, 2024
1 parent 9381cbc commit 6b62ea8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,10 +478,9 @@ def test_read_response_returns_cached_reply(self, mock_cache, mock_connection):
)
proxy_connection.send_command(*["GET", "foo"], **{"keys": ["foo"]})
assert proxy_connection.read_response() == b"bar"
assert proxy_connection._current_command_cache_key == None
assert proxy_connection._current_command_cache_key is None
assert proxy_connection.read_response() == b"bar"

mock_connection.read_response.assert_called_once()
mock_cache.set.assert_has_calls(
[
call(
Expand Down

0 comments on commit 6b62ea8

Please sign in to comment.