feat(v0.4): import all Raspberry Pi scripts and implement Recovery Management engine + Shinkan adapters

This commit is contained in:
Lars committed 2026-10-29 14:18:20 +01:00
1 parent 40188c0e10
commit c53fc0a939
35 files changed
+2877 -191

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ spec.loader.exec_module(app)
class OrchestratorTests(unittest.TestCase):
def setUp(self):
self.temp = tempfile.TemporaryDirectory()
self.temp = tempfile.TemporaryDirectory(ignore_cleanup_errors=True)
self.addCleanup(self.temp.cleanup)
self.root = Path(self.temp.name)
self.patches = [patch.object(app, 'legacy_schedules', return_value=[]),
@@ -49,7 +49,7 @@ class OrchestratorTests(unittest.TestCase):
import time
start = time.monotonic()
self.assertEqual(app.live_run([j1, j2, j3], self.args), 0)
self.assertLess(time.monotonic() - start, 0.60)
self.assertLess(time.monotonic() - start, 1.20 if os.name == 'nt' else 0.60)
self.assertEqual(event.read_text().splitlines()[-1], 'after')
self.assertEqual(self.results()['overall'], 'ok')