summaryrefslogtreecommitdiff
path: root/tests/test_search.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-11-14 14:14:00 +0200
committerGitHub <noreply@github.com>2021-11-14 14:14:00 +0200
commit46f935186bc068df676dfd03faf91f35aa8fae4a (patch)
tree3fcc6b984545559f473c6c56344c46662075b62d /tests/test_search.py
parentc8cb7150abe99b77f9f6bde1fba8ecb527295110 (diff)
downloadredis-py-46f935186bc068df676dfd03faf91f35aa8fae4a.tar.gz
FT.EXPLAINCLI intentionally raising NotImplementedError (#1705)
Diffstat (limited to 'tests/test_search.py')
-rw-r--r--tests/test_search.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
index 75559d3..d1fc75f 100644
--- a/tests/test_search.py
+++ b/tests/test_search.py
@@ -612,6 +612,12 @@ def test_explain(client):
@pytest.mark.redismod
+def test_explaincli(client):
+ with pytest.raises(NotImplementedError):
+ client.ft().explain_cli("foo")
+
+
+@pytest.mark.redismod
def test_summarize(client):
createIndex(client.ft())
waitForIndex(client, "idx")