Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

tests: first-run update test ignores the machine's own installed models

Niko122113cd63567eee
diff --git a/tests/terminal/test_updater.py b/tests/terminal/test_updater.py
index 22ebef54f..39637e69e 100644
--- a/tests/terminal/test_updater.py
+++ b/tests/terminal/test_updater.py
@@ -358,7 +358,8 @@ class EngineUpdate(UpdaterCase):
def test_first_run_installs_the_engine_for_this_pc_without_a_model(self):
self.publish(("0.1.46", fx.GOOD_ENGINE))
- out = updater.run_update(self.ctx(run_config=None), control=False)
+ with mock.patch.object(updater, "discover_run_config", return_value=None): # whatever this machine has installed
+ out = updater.run_update(self.ctx(run_config=None), control=False)
result = out["results"][0]
self.assertEqual((out["exit_code"], result["status"]), (0, "updated"), out)
self.assertEqual(result["test_start"]["mode"], "binary-only")