The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e-upgrade): drop the empty KNOWN machinery from the realistic-home file
teknium1d0855a6fb01a
diff --git a/tests/e2e/core/upgrade/test_update_userstate_realistic.py b/tests/e2e/core/upgrade/test_update_userstate_realistic.pyindex d1c87ed4227..cf5fe1de813 100644--- a/tests/e2e/core/upgrade/test_update_userstate_realistic.py+++ b/tests/e2e/core/upgrade/test_update_userstate_realistic.py@@ -43,17 +43,6 @@ UPDATE_TIMEOUT = 1500PROFILES = ("default", "work", "research")-class Gap(Exception):- """Contract breach tracked in KNOWN (not an AssertionError: any other failure still fails)."""---KNOWN: dict[str, str] = {}---def known(key: str):- return pytest.mark.xfail(strict=True, raises=Gap, reason=KNOWN[key]) if key in KNOWN else ()--def _profile_home(sb: I.Sandbox, name: str):return sb.hermes_home if name == "default" else sb.hermes_home / "profiles" / name@@ -229,11 +218,10 @@ def test_conflicting_update_keeps_the_users_edit_recoverable(conflicting_leg, woassert in_tree or parked, "the user's tracked edit was lost by the update"[email protected]("key", [pytest.param("untracked", marks=known("untracked"))])-def test_conflicting_update_leaves_untracked_extension_in_the_tree(conflicting_leg, world, key):+def test_conflicting_update_leaves_untracked_extension_in_the_tree(conflicting_leg):up = conflicting_leg["update"]assert I.TRACEBACK not in up.stdout + up.stderr, I.describe(up)after = I.tree_digest(conflicting_leg["ext"]) if conflicting_leg["ext"].exists() else {}- if after != conflicting_leg["before"]:- raise Gap(f"untracked extension files left the working tree: {sorted(conflicting_leg['before'])} -> {sorted(after)}\n"- + I.describe(up))+ assert after == conflicting_leg["before"], (+ f"untracked extension files left the working tree: {sorted(conflicting_leg['before'])} -> {sorted(after)}\n"+ + I.describe(up))