Coderabbit suggestion

This commit is contained in:
Adam Outler
2025-11-17 20:27:27 +00:00
parent 6206e483a9
commit d13596c35c

View File

@@ -209,7 +209,8 @@ def test_case_variations_injection(builder):
condition, params = builder.get_safe_condition_legacy(malicious_input)
# Should handle case variations safely
if "union" in condition.lower() or "select" in condition.lower():
assert False, f"Injection not blocked: {malicious_input}"
if "union" in condition.lower() or "select" in condition.lower():
pytest.fail(f"Injection not blocked: {malicious_input}")
def test_time_based_injection_attempt(builder):