fix: steamcmd install dir
Build and Publish Container / Publish Linux container (push) Successful in 4m3s
Build and Publish Container / Publish Linux container (push) Successful in 4m3s
This commit is contained in:
@@ -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",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user