Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: compare the steered pipeline's model_dir by name so the Windows path separator cannot fail it (#6512)

[._.]/ Adam Eivy2b33ed505b33
diff --git a/scripts/upscale_ltx25.test.js b/scripts/upscale_ltx25.test.js
index 25cc779fba..4023cd2c63 100644
--- a/scripts/upscale_ltx25.test.js
+++ b/scripts/upscale_ltx25.test.js
@@ -342,9 +342,11 @@ describe.skipIf(!pyBin)('upscale_ltx25.py — transformer header (#6512)', () =>
'pipe.load(); pipe.load()',
// The latent upsampler slot is pre-seeded so the base load() skips the
// ~1 GB stage-2 weight a skip_stage_2 render never touches.
- 'print(pipe.calls, pipe.lora_paths, pipe.model_dir, pipe.upsampler is not None)',
+ // `model_dir` is compared by its last segment: it is passed through
+ // `str(Path)`, which renders the separator per platform.
+ 'print(pipe.calls, pipe.lora_paths, Path(pipe.model_dir).name, pipe.upsampler is not None)',
].join('\n');
expect(trimmed(runPython(`${importRunner}\n${source}`)))
- .toBe("['transformer-dev.safetensors', 'base-load:dit', 'base-load:dit'] [('adapter', 1.0), ('distilled', 1.0)] /pack True");
+ .toBe("['transformer-dev.safetensors', 'base-load:dit', 'base-load:dit'] [('adapter', 1.0), ('distilled', 1.0)] pack True");
}, PY_TEST_TIMEOUT_MS);
});