Skip to content

The agent that grows with you

test(profile): run the orphan-alias doctor test on every host

kshitijk4poor547b3722261c
diff --git a/tests/hermes_cli/test_profile_alias_orphan_removal.py b/tests/hermes_cli/test_profile_alias_orphan_removal.py
index 64c96cfc6c9..9f12ff5e63a 100644
--- a/tests/hermes_cli/test_profile_alias_orphan_removal.py
+++ b/tests/hermes_cli/test_profile_alias_orphan_removal.py
@@ -32,6 +32,7 @@ def _alias(profile, *, remove, name=None):
profile_cmd._profile_alias(SimpleNamespace(profile_name=profile, remove=remove, alias_name=name))
[email protected]("any") # the wrapper name differs per host (.bat on Windows)
def test_doctor_names_the_command_that_removes_an_orphan_alias(isolated_home, capsys):
keep = isolated_home / ".hermes" / "profiles" / "keep" # doctor's section needs one live profile
keep.mkdir(parents=True)