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

Method test_config_with_removed_ftconfig

tests/test_search.py:1912–1919  ·  view source on GitHub ↗
(self, client)

Source from the content-addressed store, hash-verified

1910 @pytest.mark.onlynoncluster
1911 @skip_if_server_version_lt("7.9.0")
1912 def test_config_with_removed_ftconfig(self, client):
1913 assert client.config_set("timeout", "100")
1914 with pytest.raises(redis.ResponseError):
1915 client.config_set("timeout", "null")
1916 res = client.config_get("*")
1917 assert "100" == res["timeout"]
1918 res = client.config_get("timeout")
1919 assert "100" == res["timeout"]
1920
1921 @pytest.mark.redismod
1922 @pytest.mark.onlynoncluster

Callers

nothing calls this directly

Calls 2

config_setMethod · 0.45
config_getMethod · 0.45

Tested by

no test coverage detected