fix: resolve the remote once, in main

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 16:44:02 +01:00
1 parent 4cb82adce3
commit 5436a45d4a
20 files changed
+331 -170

No files matched your search

+2 -4
View File
@@ -379,10 +379,8 @@ class DecliningTheSizePointsAtTheChoice(unittest.TestCase):
with FakeRepository() as repo, mock.patch.dict(os.environ), \
mock.patch.object(sys, "argv", ["install.py", "--platform", "retroarch",
"--dest", str(repo.dest), *options]), \
mock.patch.object(install, "MANIFEST_URL",
repo.env()["RETROBIOS_BASE_URL"] + "/install/{platform}.json"), \
mock.patch.object(install, "RAW_FILE_URL",
repo.env()["RETROBIOS_BASE_URL"] + "/{path}"), \
mock.patch.dict(os.environ,
{"RETROBIOS_BASE_URL": repo.env()["RETROBIOS_BASE_URL"]}), \
mock.patch.object(install, "CONFIRM_FROM_BYTES", 1), \
mock.patch("sys.stdin", mock.Mock(isatty=lambda: True)), \
mock.patch.object(install, "_is_terminal", return_value=True), \