Skip to content

Commit a56567f

Browse files
committed
tests: fix lolwut tests
Starting with Valkey 9.0, the `lolwut` command doesn't contain `Redis ver.` in the output, but `Valkey ver.`. Signed-off-by: Bogdan Petre <[email protected]>
1 parent 50b9e73 commit a56567f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,10 @@ def test_lastsave(self, r):
845845
@skip_if_server_version_lt("5.0.0")
846846
def test_lolwut(self, r):
847847
lolwut = r.lolwut().decode("utf-8")
848-
assert "Redis ver." in lolwut
848+
assert "Valkey ver." in lolwut
849849

850850
lolwut = r.lolwut(5, 6, 7, 8).decode("utf-8")
851-
assert "Redis ver." in lolwut
851+
assert "Valkey ver." in lolwut
852852

853853
@pytest.mark.onlynoncluster
854854
@skip_if_server_version_lt("6.2.0")

0 commit comments

Comments
 (0)