Add database-backed manual order grid with automatic cell saving
This commit is contained in:
@@ -75,6 +75,9 @@ class MergeTests(unittest.TestCase):
|
||||
|
||||
class HistoryApiTests(unittest.IsolatedAsyncioTestCase):
|
||||
def setUp(self):
|
||||
manual = patch.object(main, "MANUAL_ORDERS_BACKEND", "google")
|
||||
manual.start()
|
||||
self.addCleanup(manual.stop)
|
||||
self.store = MagicMock()
|
||||
self.store.list_records.return_value = [{**SMS, "id": 42}]
|
||||
self.store.add.return_value = 42
|
||||
|
||||
Reference in New Issue
Block a user