Add offline fallbacks for remote components #9

Merged
Dusk-92 merged 101 commits from test/remote-fallbacks into main 2026-09-04 15:03:01 +00:00
Showing only changes of commit 764d177638 - Show all commits
+2
View File
@@ -1483,6 +1483,7 @@ class BundledComponentSafetyTests(unittest.TestCase):
}
tool._valid_x86_dll = mock.Mock(return_value=False)
tool._verified_bundled_file = mock.Mock()
tool._verified_bundled_tree = mock.Mock()
tool._warn_offline = mock.Mock()
with tempfile.TemporaryDirectory() as root:
@@ -1503,6 +1504,7 @@ class BundledComponentSafetyTests(unittest.TestCase):
target = os.path.join(root, "game")
os.makedirs(target)
tool._verified_bundled_file.return_value = (dll, "a" * 64)
tool._verified_bundled_tree.return_value = addon
with mock.patch.object(
remote_packages,