diff --git a/tests/test_codex_plugin.py b/tests/test_codex_plugin.py index 674f6458..36c5389b 100644 --- a/tests/test_codex_plugin.py +++ b/tests/test_codex_plugin.py @@ -52,7 +52,7 @@ def test_export_codex_plugin_materializes_the_canonical_skill_bundle() -> None: "installation": "AVAILABLE", "authentication": "ON_INSTALL", } - assert exported.marketplace_path == str(marketplace_path) + assert Path(exported.marketplace_path) == marketplace_path.resolve() assert not (root / "marketplace.json").exists() diff --git a/tests/test_mcp.py b/tests/test_mcp.py index b5a06ae1..b05268f4 100644 --- a/tests/test_mcp.py +++ b/tests/test_mcp.py @@ -2353,7 +2353,10 @@ async def test_clip_submission_and_lazy_artifact_download(self): self.assertEqual(linked.structured_content["etag"], f'"{"1" * 64}"') self.assertEqual(linked.structured_content["state"], "ready") self.assertEqual(linked.structured_content["delivery_mode"], "local_file") - self.assertEqual(Path(linked.structured_content["local_path"]), clip) + self.assertEqual( + Path(linked.structured_content["local_path"]), + clip.resolve(), + ) self.assertIsNone(linked.structured_content["download_url"]) self.assertEqual(downloaded.contents[0].blob, "Y2xpcC1jb250ZW50")