From e6199fd8f96237854bc7e27eea6313f3965d76e3 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Fri, 16 Oct 2026 05:52:10 -0700 Subject: [PATCH] test: compare canonical gallery paths on macOS --- tests/test_api_autotag.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_api_autotag.py b/tests/test_api_autotag.py index e0558e8..8db42d9 100644 --- a/tests/test_api_autotag.py +++ b/tests/test_api_autotag.py @@ -1069,7 +1069,9 @@ class TestGalleryReviewContract(AutotagAPITestCase): self.assertEqual(response.status, 200) data = await response.json() self.assertEqual(data["prompt_id"], pid) - self.assertEqual(self.service.generate_calls[-1][0], str(root / "same.png")) + self.assertEqual( + self.service.generate_calls[-1][0], str((root / "same.png").resolve()) + ) response = await self._post_json( "/prompt_manager/autotag/apply", {"prompt_id": data["prompt_id"], "tags": data["tags"]},