Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Apr 17, 2024
1 parent 12e79a5 commit db0f168
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
8 changes: 6 additions & 2 deletions umu/umu_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ def test_update_umu_empty(self):
result = umu_util._update_umu(
self.test_user_share,
self.test_local_share,
self.test_compat,
json_root,
json_local,
)
Expand Down Expand Up @@ -542,6 +543,7 @@ def test_update_umu(self):
result = umu_util._update_umu(
self.test_user_share,
self.test_local_share,
self.test_compat,
json_root,
json_local,
)
Expand Down Expand Up @@ -660,7 +662,7 @@ def test_install_umu(self):
return_value=None,
):
result = umu_util._install_umu(
self.test_user_share, self.test_local_share, json
self.test_user_share, self.test_local_share, self.test_compat, json
)
copytree(
Path(self.test_user_share, "sniper_platform_0.20240125.75305"),
Expand Down Expand Up @@ -1415,7 +1417,9 @@ def test_build_command(self):
"setup_runtime",
return_value=None,
):
umu_util._install_umu(self.test_user_share, self.test_local_share, json)
umu_util._install_umu(
self.test_user_share, self.test_local_share, self.test_compat, json
)
copytree(
Path(self.test_user_share, "sniper_platform_0.20240125.75305"),
Path(self.test_local_share, "sniper_platform_0.20240125.75305"),
Expand Down
12 changes: 9 additions & 3 deletions umu/umu_test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ def test_build_command_entry(self):
"setup_runtime",
return_value=None,
):
umu_util._install_umu(self.test_user_share, self.test_local_share, json)
umu_util._install_umu(
self.test_user_share, self.test_local_share, self.test_compat, json
)
copytree(
Path(self.test_user_share, "sniper_platform_0.20240125.75305"),
Path(self.test_local_share, "sniper_platform_0.20240125.75305"),
Expand Down Expand Up @@ -285,7 +287,9 @@ def test_build_command_proton(self):
"setup_runtime",
return_value=None,
):
umu_util._install_umu(self.test_user_share, self.test_local_share, json)
umu_util._install_umu(
self.test_user_share, self.test_local_share, self.test_compat, json
)
copytree(
Path(self.test_user_share, "sniper_platform_0.20240125.75305"),
Path(self.test_local_share, "sniper_platform_0.20240125.75305"),
Expand Down Expand Up @@ -356,7 +360,9 @@ def test_build_command_toml(self):
"setup_runtime",
return_value=None,
):
umu_util._install_umu(self.test_user_share, self.test_local_share, json)
umu_util._install_umu(
self.test_user_share, self.test_local_share, self.test_compat, json
)
copytree(
Path(self.test_user_share, "sniper_platform_0.20240125.75305"),
Path(self.test_local_share, "sniper_platform_0.20240125.75305"),
Expand Down

0 comments on commit db0f168

Please sign in to comment.