Skip to content

The agent that grows with you

test(source-check): drop the unpublished-main case from channel refusals

ethernet364bff76e4f7
diff --git a/tests/hermes_cli/test_source_check.py b/tests/hermes_cli/test_source_check.py
index fc9be51ecf2..56b08600896 100644
--- a/tests/hermes_cli/test_source_check.py
+++ b/tests/hermes_cli/test_source_check.py
@@ -242,8 +242,11 @@ def test_dynamic_source_channel_preserves_branch_precedence(installation, select
assert requests == ([] if selection == "explicit" else [channel_path]) + [branch_path]
+# An unpublished ``main`` record is not a channel failure: main IS the source
+# branch, so the check follows it via git (covered by
+# test_source_channel_integration.py::test_unpublished_main_record_keeps_following_the_git_branch).
@pytest.mark.parametrize("name,failure", [
- ("main", "missing"), ("stable", "missing"), ("canary", "missing"),
+ ("stable", "missing"), ("canary", "missing"),
(None, "missing"), (None, "malformed"), (None, "foreign"), (None, "unpublished"),
])
def test_channel_failure_never_probes_or_heals_a_branch(installation, name, failure):