fix: steamcmd install dir
Build and Publish Container / Publish Linux container (push) Successful in 4m3s

This commit is contained in:
2026-10-05 18:25:51 -04:00
parent c79aad1cb9
commit 516f1cfde2
7 changed files with 28 additions and 23 deletions
+9 -3
View File
@@ -201,10 +201,16 @@ class BackendTests(unittest.TestCase):
def test_steamcmd_runner_forces_mounted_install_root(self, run: Mock) -> None:
with tempfile.TemporaryDirectory() as directory:
root = Path(directory)
executable = root / "steamcmd"
executable = root / "steamcmd-bin" / "steamcmd"
executable.parent.mkdir()
executable.write_text("", encoding="utf-8")
content_dir = (
root / "steamapps" / "workshop" / "content" / "294100"
root
/ "steam-library"
/ "steamapps"
/ "workshop"
/ "content"
/ "294100"
)
run.return_value = Mock(returncode=0, stdout="", stderr="")
runner = SteamCmdRunner(str(executable), content_dir, 60)
@@ -217,7 +223,7 @@ class BackendTests(unittest.TestCase):
[
str(executable.resolve()),
"+force_install_dir",
str(root),
str(root / "steam-library"),
"+login",
"anonymous",
],