test: update macos-container tests for exec-tar commit approach

- Rename export test to reflect new exec-tar mechanism; update argv
  assertions to match the new `container exec ... tar` command shape
- Change mock stderr from str to bytes (subprocess.PIPE without text=True)
- Add type annotation to capture_freeze closure to satisfy pyright
This commit is contained in:
2026-06-23 08:27:01 +00:00
committed by didericis
parent ccb2956562
commit a32c0c7865
2 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class TestFreezerBaseCommit(_FakeHomeMixin, unittest.TestCase):
freezer = get_freezer("docker")
captured = {}
def capture_freeze(agent):
def capture_freeze(agent: ActiveAgent) -> str:
captured["slug"] = agent.slug
return "some-ref"