mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
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:
1 parent
0abb4f869e
commit
87dfca0e7c
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user