summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/test/test_routine.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/jimbrella/test/test_routine.py b/jimbrella/test/test_routine.py
index b49ad28..89ae92e 100644
--- a/jimbrella/test/test_routine.py
+++ b/jimbrella/test/test_routine.py
@@ -8,7 +8,7 @@ from .jform_data import mock_jform_data
from ..routine import sync_jform, process_overdue
from ..umbrellas import Umbrellas
from ..jform import JForm
-from ..admin_log import AdminLog
+from ..logger import Logger
from ..config import config
"""Spin up a simple Flask app to mimic jForm."""
@@ -61,11 +61,10 @@ if __name__ == "__main__":
db = Umbrellas(TEST_DATABASE_PATH)
takeaway_jform = JForm("takeaway", "http://localhost:5001/takeaway", "/tmp")
giveback_jform = JForm("giveback", "http://localhost:5001/giveback", "/tmp")
- admin = AdminLog(TEST_ADMIN_LOG_PATH)
"""Simulate routine."""
- sync_jform(takeaway_jform, giveback_jform, db, admin)
- process_overdue(db, admin)
+ sync_jform(takeaway_jform, giveback_jform, db)
+ process_overdue(db)
"""Cleanup"""
os.remove(takeaway_jform._bookmark_fp)