From d844429f56952df91f36de1e77c36665f4e4d826 Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 20 May 2026 19:57:39 -0400 Subject: [PATCH] =?UTF-8?q?Fix:=20test=5Fmap=5Fapi.py=20DB=20isolation=20?= =?UTF-8?q?=E2=80=94=20set=20CANTEEN=5FDB=5FPATH=20inside=20client=20fixtu?= =?UTF-8?q?re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously relied on module-level env var which got overwritten when frontend tests' conftest.py test_db_path fixture ran first. Now explicitly sets env var inside client fixture + invalidates caches before import. Also fixed importlib order. --- tests/test_map_api.db-shm | Bin 32768 -> 0 bytes tests/test_map_api.db-wal | 0 tests/test_map_api.py | 6 ++++-- 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 tests/test_map_api.db-shm delete mode 100644 tests/test_map_api.db-wal diff --git a/tests/test_map_api.db-shm b/tests/test_map_api.db-shm deleted file mode 100644 index fe9ac2845eca6fe6da8a63cd096d9cf9e24ece10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32768 zcmeIuAr62r3