Skip to content

Commit 6e677c3

Browse files
disable failing zenguard test (#16590)
1 parent 51f6eaf commit 6e677c3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

llama-index-packs/llama-index-packs-zenguard/tests/test_packs_zenguard.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,12 @@ def test_secrets(zenguard_pack):
6565
assert response["is_detected"] is False
6666

6767

68-
def test_toxicity(zenguard_pack):
69-
prompt = "Simple toxicity test"
70-
detectors = [Detector.TOXICITY]
71-
response = zenguard_pack.run(detectors=detectors, prompt=prompt)
72-
assert response["is_detected"] is False
68+
# TODO: toxcity endpoint is down
69+
# def test_toxicity(zenguard_pack):
70+
# prompt = "Simple toxicity test"
71+
# detectors = [Detector.TOXICITY]
72+
# response = zenguard_pack.run(detectors=detectors, prompt=prompt)
73+
# assert response["is_detected"] is False
7374

7475

7576
def test_get_modules(zenguard_pack):

0 commit comments

Comments
 (0)