summaryrefslogtreecommitdiff
path: root/tests/server_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r--tests/server_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py
index fa47726..8cae871 100644
--- a/tests/server_commands.py
+++ b/tests/server_commands.py
@@ -255,11 +255,13 @@ class ServerCommandsTestCase(unittest.TestCase):
def test_watch(self):
self.client.set("a", 1)
+ self.client.set("b", 2)
- self.client.watch("a")
+ self.client.watch("a", "b")
pipeline = self.client.pipeline()
pipeline.set("a", 2)
- self.assertEquals(pipeline.execute(), [True])
+ pipeline.set("b", 3)
+ self.assertEquals(pipeline.execute(), [True, True])
self.client.set("b", 1)
self.client.watch("b")