Add database-backed manual order grid with automatic cell saving
This commit is contained in:
@@ -172,6 +172,9 @@ class ApiTests(unittest.IsolatedAsyncioTestCase):
|
||||
histories = patch.object(main, "HISTORY_BACKEND", "google")
|
||||
histories.start()
|
||||
self.addCleanup(histories.stop)
|
||||
manual = patch.object(main, "MANUAL_ORDERS_BACKEND", "google")
|
||||
manual.start()
|
||||
self.addCleanup(manual.stop)
|
||||
self.directory = tempfile.TemporaryDirectory()
|
||||
self.cache = runtime.SettingsCache(Path(self.directory.name) / "settings.json", "test")
|
||||
self.cache_patch = patch.object(main, "_settings_cache", self.cache)
|
||||
|
||||
Reference in New Issue
Block a user