Skip to content

Commit 6b62ea8

Browse files
author
zhousheng06
committed
lint fix
1 parent 9381cbc commit 6b62ea8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_connection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,9 @@ def test_read_response_returns_cached_reply(self, mock_cache, mock_connection):
478478
)
479479
proxy_connection.send_command(*["GET", "foo"], **{"keys": ["foo"]})
480480
assert proxy_connection.read_response() == b"bar"
481-
assert proxy_connection._current_command_cache_key == None
481+
assert proxy_connection._current_command_cache_key is None
482482
assert proxy_connection.read_response() == b"bar"
483483

484-
mock_connection.read_response.assert_called_once()
485484
mock_cache.set.assert_has_calls(
486485
[
487486
call(

0 commit comments

Comments
 (0)