mirror of
https://github.com/seanbetts/steam-hardware-watch.git
synced 2026-10-06 03:00:18 +02:00
Improve SteamKit auth bootstrap
This commit is contained in:
1 parent
fc0a08825d
commit
6c47978228
5 files changed
+62
-7
No files matched your search
@@ -125,6 +125,7 @@ class CheckSteamKitPicsTests(unittest.TestCase):
|
||||
{
|
||||
"PATH": f"{fake_bin}:{env['PATH']}",
|
||||
"STEAMKIT_ENV_FILE": str(tmp_path / "missing-env.sh"),
|
||||
"STEAMKIT_SESSION_FILE": str(tmp_path / "missing-session.json"),
|
||||
}
|
||||
)
|
||||
env.pop("STEAMKIT_USERNAME", None)
|
||||
@@ -483,7 +484,7 @@ class SteamKitAuthScriptTests(unittest.TestCase):
|
||||
check=False,
|
||||
)
|
||||
|
||||
self.assertEqual("", result.stderr)
|
||||
self.assertIn("Starting SteamKit auth bootstrap", result.stderr)
|
||||
self.assertEqual(0, result.returncode)
|
||||
self.assertTrue(session_file.exists())
|
||||
dotnet_args = log_path.read_text(encoding="utf-8")
|
||||
|
||||
Reference in new issue
Block a user