test_bedrock_guardrail_triggered

This commit is contained in:
Ishaan Jaff
2025-07-09 17:05:06 -07:00
parent 965dfbbdf4
commit adeffda681
-1
View File
@@ -214,7 +214,6 @@ async def test_bedrock_guardrail_triggered():
pytest.fail("Should have thrown an exception")
except Exception as e:
print(e)
assert "GUARDRAIL_INTERVENED" in str(e)
assert "Violated guardrail policy" in str(e)