fix(tests): isolate config-envelope test + add muse_repo/bare_muse_repo fixtures
test_config_set_has_envelope was writing 'https://test.example.com' directly into .muse/config.toml on every test run, breaking muse auth --sign on all subsequent commits (identity lookup fails for test.example.com).
Root cause: runner.invoke had no cwd isolation — the config set command resolved the repo root to the real working tree and clobbered it.
Fix: - Add muse_repo fixture to conftest.py: full muse init in tmp_path via CLI - Add bare_muse_repo fixture to conftest.py: init_repo_dirs only, no HEAD/repo.json - Rewrite test_config_cmd_envelope.py to pass cwd=muse_repo to every invoke call - Change the set value from test.example.com to https://localhost:1337
muse_repo and bare_muse_repo are now available to every test file automatically. Replaces all scattered _init_repo helpers over time.
0 comments
muse hub commit comment sha256:32a092c26a0efe679aafb1ccdb6076baf9e9d4ca2183dd75544bdb7783c4f4d6 --body "your comment"
No comments yet. Be the first to start the discussion.