diff --git a/umu/umu_test.py b/umu/umu_test.py index f1c83cd7..c68c358a 100644 --- a/umu/umu_test.py +++ b/umu/umu_test.py @@ -1175,6 +1175,7 @@ def test_ge_proton_none(self): Tests the case when the user has no internet connection or GE-Proton wasn't found in local system. """ + mock_session_pools = (MagicMock(), MagicMock()) with ( self.assertRaises(FileNotFoundError), patch.object(umu_proton, "_fetch_releases", return_value=None), @@ -1182,12 +1183,11 @@ def test_ge_proton_none(self): patch.object( umu_proton, "_get_from_steamcompat", return_value=None ), - ThreadPoolExecutor() as thread_pool, ): os.environ["WINEPREFIX"] = self.test_file os.environ["GAMEID"] = self.test_file os.environ["PROTONPATH"] = "GE-Proton" - umu_run.check_env(self.env, thread_pool) + umu_run.check_env(self.env, mock_session_pools) self.assertFalse( os.environ.get("PROTONPATH"), "Expected empty string" )