diff --git a/umu/umu_test.py b/umu/umu_test.py index 8ca7285f..c092e091 100644 --- a/umu/umu_test.py +++ b/umu/umu_test.py @@ -626,7 +626,7 @@ def test_latest_interrupt(self): # In the real usage, should be populated after successful callout # for latest Proton releases # In this case, assume the test variable will be downloaded - files = [("", ""), (self.test_archive.name, "")] + files = (("", ""), (self.test_archive.name, "")) thread_pool = ThreadPoolExecutor() with patch("umu_proton._fetch_proton") as mock_function: @@ -669,7 +669,7 @@ def test_latest_val_err(self): # latest Proton releases # When empty, it means the callout failed for some reason (e.g. no # internet) - files = [("", ""), (self.test_archive.name, "")] + files = (("", ""), (self.test_archive.name, "")) thread_pool = ThreadPoolExecutor() self.assertTrue( @@ -702,7 +702,7 @@ def test_latest_offline(self): # latest Proton releases # When empty, it means the callout failed for some reason (e.g. no # internet) - files = [] + files = () thread_pool = ThreadPoolExecutor() os.environ["PROTONPATH"] = "" @@ -733,7 +733,7 @@ def test_link_umu(self): latest = Path("UMU-Proton-9.0-beta15") latest.mkdir() Path(f"{latest}.sha512sum").touch() - files = [(f"{latest}.sha512sum", ""), (f"{latest}.tar.gz", "")] + files = ((f"{latest}.sha512sum", ""), (f"{latest}.tar.gz", "")) thread_pool = ThreadPoolExecutor() # Mock the latest Proton in /tmp @@ -788,7 +788,7 @@ def test_latest_umu(self): latest = Path("UMU-Proton-9.0-beta16") latest.mkdir() Path(f"{latest}.sha512sum").touch() - files = [(f"{latest}.sha512sum", ""), (f"{latest}.tar.gz", "")] + files = ((f"{latest}.sha512sum", ""), (f"{latest}.tar.gz", "")) thread_pool = ThreadPoolExecutor() # Mock the latest Proton in /tmp