Skip to content

Commit 12e92c4

Browse files
Skip unit test for protected prebuilt-rules on DAC env
1 parent 7960772 commit 12e92c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_all_rules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,7 @@ def test_ml_integration_jobs_exist(self):
11121112
f"The following ({len(failures)}) rules are missing a valid `machine_learning_job_id`:\n{err_msg}"
11131113
)
11141114

1115+
@unittest.skipIf(os.environ.get("CUSTOM_RULES_DIR"), "Skipping test for custom rules.")
11151116
def test_preserve_upstream_protected_rule_id_name(self):
11161117
"""
11171118
Ensure upstream referenced rule IDs and rule names remain unchanged

0 commit comments

Comments
 (0)