From eeb05631fe4074901317a2afb3d88b4d7ee7b6cc Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sun, 18 Oct 2026 12:51:17 +0200 Subject: [PATCH] tests: the Mac catalog test looked for '0 GB' in the whole computer line, which also holds the free-disk figure ('60 GB free'); it now checks the card part only --- tests/terminal/test_launch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/terminal/test_launch.py b/tests/terminal/test_launch.py index 95cd8f58..307bbc75 100644 --- a/tests/terminal/test_launch.py +++ b/tests/terminal/test_launch.py @@ -125,7 +125,8 @@ class CatalogRules(unittest.TestCase): self.assertGreater(rows["IQ3_S"].spill_gb, 10) self.assertEqual(cat.max_context("qwen", "Q2_0", hw), 32768) self.assertEqual(cat.computer().line(), "Apple M4 · 32 GB unified memory · " + cat.computer().line().split(" · ")[-1]) - self.assertNotIn("0 GB", cat.computer().line()) + # no "0 GB" of video memory in the card part of the line (the free-disk figure after it may end in a zero: "60 GB free") + self.assertNotIn("0 GB", " · ".join(cat.computer().line().split(" · ")[:2])) def test_verdict_words_never_block(self): self.assertEqual(verdict("fits")[0], "fits")