diff options
Diffstat (limited to 'tests/test_cluster.py')
-rw-r--r-- | tests/test_cluster.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test_cluster.py b/tests/test_cluster.py index 9866cfc..27cfee1 100644 --- a/tests/test_cluster.py +++ b/tests/test_cluster.py @@ -561,7 +561,15 @@ class TestRedisClusterObj: read_cluster.get("foo") read_cluster.get("foo") read_cluster.get("foo") - mocks["send_command"].assert_has_calls([call("READONLY")]) + mocks["send_command"].assert_has_calls( + [ + call("READONLY"), + call("GET", "foo"), + call("READONLY"), + call("GET", "foo"), + call("GET", "foo"), + ] + ) def test_keyslot(self, r): """ |