From b3b05918b7603c18002b487b5b64bafdc92dfec1 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 9 Oct 2026 06:45:59 +0900 Subject: [PATCH] chore: add test case --- tests/test_process_detection.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_process_detection.py b/tests/test_process_detection.py index 4643458..2e36063 100644 --- a/tests/test_process_detection.py +++ b/tests/test_process_detection.py @@ -52,6 +52,10 @@ class TestSteamDetection(unittest.TestCase): ): self.assertEqual(proc.is_steam_running(STEAM_CMD), running) + def test_native_steam_while_flatpak_is_running(self): + with patch.object(proc, "is_flatpak_steam_running", return_value=True): + self.assertEqual(proc.is_steam_running(STEAM_CMD), False) + def test_invalid_client(self): with self.assertRaises(TypeError): proc.is_steam_running("invalid-client")