From 94f095c893ce4b75c80293d2ccdc268afb44d5b8 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Mon, 19 Oct 2026 08:33:19 +0200 Subject: [PATCH 1/2] tests: launch TUI pins follow the 64 GB tier (IQ3_S) --- tests/terminal/test_launch_tui.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/terminal/test_launch_tui.py b/tests/terminal/test_launch_tui.py index 2ef2ba60..99ef4a60 100644 --- a/tests/terminal/test_launch_tui.py +++ b/tests/terminal/test_launch_tui.py @@ -225,9 +225,9 @@ class ModelStep(Base): for col in ("Model", "Download", "Needs (RAM + VRAM)", "On this computer"): self.assertIn(col, t) self.assertIn("IQ3_XXS", t) - line = next(l for l in t.splitlines() if "IQ3_XXS" in l and "Qwen3.8-Flash-Next IQ3_XXS" in l) - self.assertIn("76 GB", line) # setup.py's download_gb 75.8 - self.assertIn("44 GB", line) # the app's figure: experts 42.9 + 1 GB, RAM + VRAM together + line = next(l for l in t.splitlines() if "Qwen3.8-Flash-Next IQ3_S" in l) # 64 GB + 12 GB: the 64 GB tier + self.assertIn("84 GB", line) # setup.py's download_gb 83.6 + self.assertIn("51 GB", line) # the app's figure: experts 50.3 + 1 GB, RAM + VRAM together self.assertIn("(recommended)", line) self.assertIn("› ", line) # the cursor starts on the recommendation self.assertIn("too big (can still try)", t) # NVFP4: a warning, not a block @@ -238,7 +238,7 @@ class ModelStep(Base): def test_choosing_a_model_and_going_on(self): async def case(app, pilot, ctx): - await press(pilot, "enter", "up", "up", "enter") + await press(pilot, "enter", "up", "up", "up", "enter") self.assertEqual((ctx.settings.family, ctx.settings.model), ("qwen", "Q2_0")) self.assertIn("Where should the model files be stored?", text_of(app)) self.run_app(case) @@ -304,7 +304,7 @@ class FolderStep(Base): await press(pilot, "enter", "enter") t = text_of(app) self.assertIn("Where should the model files be stored?", t) - self.assertIn("Not downloaded yet: about 76 GB", t) + self.assertIn("Not downloaded yet: about 84 GB", t) self.assertIn("Free space in that folder's drive", t) f = app.screen.query_one("#folderpath") f.value = "" @@ -542,7 +542,7 @@ class AdvancedStep(Base): self.assertIn("[experimental]", t) self.assertIn("+ Add a setting by name", t) self.assertIn("Command that will run", t) - self.assertIn("Same as: strata launch --model iq3_xxs", t) + self.assertIn("Same as: strata launch --model iq3_s", t) self.run_app(case, ctx=ctx) def test_edit_a_value_then_reset_it(self): @@ -730,14 +730,14 @@ class SaveAndRun(Base): await press(pilot, *("enter",) * 7, "n", "enter") t = text_of(app) self.assertIn("Save as preset, then launch", t) - self.assertIn("Qwen3.8-Flash-Next IQ3_XXS", t) + self.assertIn("Qwen3.8-Flash-Next IQ3_S", t) self.assertIn("32K, memory int8", t) self.assertIn("quick (about 20 min)", t) self.assertIn("This computer only, port 8080", t) await press(pilot, "enter") # Save as a preset and launch await pilot.pause(0.8) - self.assertEqual([p.name for p in store.list_presets()], ["IQ3_XXS 32K"]) - self.assertEqual(FakeRunner.instances[0].s.name, "IQ3_XXS 32K") + self.assertEqual([p.name for p in store.list_presets()], ["IQ3_S 32K"]) + self.assertEqual(FakeRunner.instances[0].s.name, "IQ3_S 32K") self.assertIsNotNone(app.result) self.run_app(case) From 8ac47258bb996c35037a4e3595f296cb2f13005c Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Mon, 19 Oct 2026 08:35:13 +0200 Subject: [PATCH 2/2] tests: wizard tests pick IQ3_XXS by hand now that IQ3_S is pre-selected at 64 GB --- tests/terminal/test_tuiqa_wizard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/terminal/test_tuiqa_wizard.py b/tests/terminal/test_tuiqa_wizard.py index 3b2c91b6..8bcb1486 100644 --- a/tests/terminal/test_tuiqa_wizard.py +++ b/tests/terminal/test_tuiqa_wizard.py @@ -198,7 +198,7 @@ class InstalledModelFolder(Base): ctx.settings.family, ctx.settings.model, ctx.settings.vision = "qwen", "IQ3_XXS", "cpu" async def case(app, pilot, ctx): - await press(pilot, "enter", "enter") # Start -> Model (Enter) -> Folder + await press(pilot, "enter", "up", "enter") # Start -> Model (up: IQ3_XXS, the 64 GB tier pre-selects IQ3_S) -> Folder self.assertEqual(app.current, "folder") field = app.screen.query_one("#folderpath") self.assertEqual(Path(field.value).resolve(), docs.resolve()) @@ -217,7 +217,7 @@ class InstalledModelFolder(Base): ctx.settings.family, ctx.settings.model, ctx.settings.vision = "qwen", "IQ3_XXS", "cpu" async def case(app, pilot, ctx): - await press(pilot, "enter", "enter") + await press(pilot, "enter", "up", "enter") # up: IQ3_XXS (IQ3_S is pre-selected) shown = flat(app) self.assertIn("Already downloaded", shown) self.assertIn("Nothing more to download", shown)