Spaces:
Sleeping
Sleeping
solidprivacy-nl commited on
Commit ·
dce3aaf
1
Parent(s): 974f5a8
Use production gate wording in export UX contract test
Browse files
tests/test_export_download_ux_contracts.py
CHANGED
|
@@ -156,10 +156,10 @@ def test_this_package_does_not_approve_implementation_or_semantic_changes():
|
|
| 156 |
"No Scrub Key",
|
| 157 |
"No reinsert",
|
| 158 |
"No recognizer",
|
|
|
|
| 159 |
"No product claim",
|
| 160 |
]:
|
| 161 |
assert_contains(text, term)
|
| 162 |
-
assert "no benchmark gate" in normalise(text) or "no benchmark gates" in normalise(text)
|
| 163 |
|
| 164 |
|
| 165 |
def test_contract_tests_do_not_import_streamlit_or_mutate_runtime_app_state():
|
|
|
|
| 156 |
"No Scrub Key",
|
| 157 |
"No reinsert",
|
| 158 |
"No recognizer",
|
| 159 |
+
"No production gate",
|
| 160 |
"No product claim",
|
| 161 |
]:
|
| 162 |
assert_contains(text, term)
|
|
|
|
| 163 |
|
| 164 |
|
| 165 |
def test_contract_tests_do_not_import_streamlit_or_mutate_runtime_app_state():
|