From 52d3e5c7963d13206681da55a5253dfe8521b78a Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Mon, 22 Feb 2021 23:58:06 +0000 Subject: Add Del/Expire commands to test --- tests/replication/_base.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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") -- cgit 1.5.1