We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2c330 commit 84dd6c1Copy full SHA for 84dd6c1
tests/test_commands.py
@@ -2162,6 +2162,8 @@ def test_hscan(self, r):
2162
assert dic == {b"a": b"1", b"b": b"2", b"c": b"3"}
2163
_, dic = r.hscan("a", match="a")
2164
assert dic == {b"a": b"1"}
2165
+ _, dic = r.hscan("a_notset")
2166
+ assert dic == {}
2167
2168
@skip_if_server_version_lt("7.2.6")
2169
def test_hscan_novalues(self, r):
@@ -2181,6 +2183,8 @@ def test_hscan_iter(self, r):
2181
2183
2182
2184
dic = dict(r.hscan_iter("a", match="a"))
2185
2186
+ dic = dict(r.hscan_iter("a_notset"))
2187
2188
2189
2190
def test_hscan_iter_novalues(self, r):
0 commit comments