summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorWill Hunt <willh@matrix.org>2021-02-22 23:58:06 +0000
committerWill Hunt <willh@matrix.org>2021-02-22 23:58:39 +0000
commit52d3e5c7963d13206681da55a5253dfe8521b78a (patch)
treed2e8dbcc8b99500957b9b0ea10da2d079a1b6064 /tests
parentfix config getter (diff)
downloadsynapse-52d3e5c7963d13206681da55a5253dfe8521b78a.tar.xz
Add Del/Expire commands to test
Diffstat (limited to 'tests')
-rw-r--r--tests/replication/_base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/replication/_base.py b/tests/replication/_base.py
index f6a6aed35e..a81607ed04 100644
--- a/tests/replication/_base.py
+++ b/tests/replication/_base.py
@@ -629,6 +629,10 @@ class FakeRedisPubSubProtocol(Protocol):
             self.send("OK")
         elif command == b"GET":
             self.send(None)
+        elif command == b"DEL":
+            self.send("OK")
+        elif command == b"EXPIRE":
+            self.send("OK")
         else:
             raise Exception("Unknown command")