diff options
author | Will Hunt <willh@matrix.org> | 2021-02-22 23:58:06 +0000 |
---|---|---|
committer | Will Hunt <willh@matrix.org> | 2021-02-22 23:58:39 +0000 |
commit | 52d3e5c7963d13206681da55a5253dfe8521b78a (patch) | |
tree | d2e8dbcc8b99500957b9b0ea10da2d079a1b6064 /tests | |
parent | fix config getter (diff) | |
download | synapse-52d3e5c7963d13206681da55a5253dfe8521b78a.tar.xz |
Add Del/Expire commands to test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/replication/_base.py | 4 |
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") |