MCPcopy
hub / github.com/redis/redis-py / test_info

Method test_info

tests/test_commands.py:1093–1099  ·  view source on GitHub ↗
(self, r)

Source from the content-addressed store, hash-verified

1091
1092 @pytest.mark.onlynoncluster
1093 def test_info(self, r):
1094 r["a"] = "foo"
1095 r["b"] = "bar"
1096 info = r.info()
1097 assert isinstance(info, dict)
1098 assert "arch_bits" in info.keys()
1099 assert "redis_version" in info.keys()
1100
1101 @pytest.mark.onlynoncluster
1102 @skip_if_server_version_lt("7.0.0")

Callers

nothing calls this directly

Calls 2

keysMethod · 0.80
infoMethod · 0.45

Tested by

no test coverage detected