summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jimbrella/test/test_routine.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/jimbrella/test/test_routine.py b/jimbrella/test/test_routine.py
index a3a5675..5a08fdf 100644
--- a/jimbrella/test/test_routine.py
+++ b/jimbrella/test/test_routine.py
@@ -4,7 +4,7 @@ import json
import os
import shutil
from .jform_data import mock_jform_data
-from ..routine import sync_database
+from ..routine import sync_database, process_overdue
from ..database import Database
from ..jform import JForm
from ..config import *
@@ -54,5 +54,8 @@ db = Database(TEST_DATABASE_PATH)
takeaway_jform = JForm("takeaway", "http://localhost:5001/takeaway", "/tmp")
giveback_jform = JForm("giveback", "http://localhost:5001/giveback", "/tmp")
sync_database(takeaway_jform, giveback_jform, db)
+process_overdue(db)
+
+"""Cleanup"""
os.remove(takeaway_jform._bookmark_fp)
os.remove(giveback_jform._bookmark_fp)