[core] Fix Windows path separator in cache path test

This commit is contained in:
J. Nick Koston
2026-05-12 17:48:17 -05:00
parent e7af2aaf9b
commit 1902519f37
+3 -3
View File
@@ -104,9 +104,9 @@ def fresh_cache_files(tmp_path: Path) -> Path:
def test_compiled_config_path_lives_alongside_sidecar(setup_core: Path) -> None:
"""The cache file shape is predictable from the YAML filename."""
assert str(compiled_config_path("device.yaml")).endswith(
"storage/device.yaml.validated.yaml"
)
path = compiled_config_path("device.yaml")
assert path.name == "device.yaml.validated.yaml"
assert path.parent.name == "storage"
def test_load_compiled_config_happy_path(fresh_cache_files: Path) -> None: