test_strata_mcp MacCatalog: the second temp data folder (f-0214-app's disk-short check) under the real home on macOS too

This commit is contained in:
Niko1221 committed 2026-11-10 06:47:31 +01:00
1 parent 0abb4f869e
commit 87dfca0e7c
1 file changed
+1 -1
+1 -1
View File
@@ -900,7 +900,7 @@ class MacCatalog(unittest.TestCase):
self.assertEqual(plain["disk_needed_gb"], round(plain["download_gb"] + 8)) # no repack for a GSQ-RCO file
self.assertEqual(args[:6], ["--yes", "--no-start", "--family", "unsloth", "--model", "UD-IQ1_M"])
s.disk_free = lambda p: 100.0
with tempfile.TemporaryDirectory() as t:
with tempfile.TemporaryDirectory(dir=real_home) as t: # (the same reason as above)
target = Path(t) / "Strata-data"
target.mkdir()
short, _ = M.Tools(s).install_plan("unsloth", "UD-IQ1_M", None, "no", "int8", 0, None, None, "auto", None, str(target))