summaryrefslogtreecommitdiff
path: root/jimbrella/test/jform_data.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-02-05 16:39:41 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-02-05 16:39:41 +0800
commitfcc3ce60bcfa57734a51723717fe681ee4bf1327 (patch)
treec8d883a6cd2b898fed85a7f717be34de242ded25 /jimbrella/test/jform_data.py
parent14feb6a4378668d054d28a1335eacd2026b621dc (diff)
Config format switched to .ini
Eliminated toml from dependency list
Diffstat (limited to 'jimbrella/test/jform_data.py')
-rw-r--r--jimbrella/test/jform_data.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/jimbrella/test/jform_data.py b/jimbrella/test/jform_data.py
index 5d235ce..756a9ae 100644
--- a/jimbrella/test/jform_data.py
+++ b/jimbrella/test/jform_data.py
@@ -1,7 +1,6 @@
import json
from datetime import datetime, timedelta
from ..umbrellas import Umbrellas
-from ..config import *
TENANT_NAMES = ["Alice", "Bob", "Carol", "Dave", "Eve", "Frank"]
TENANT_IDS = ["01", "02", "03", "04", "05", "06"]
@@ -91,9 +90,6 @@ def mock_jform_data() -> tuple:
"code": 0,
}
- db = Umbrellas(DATABASE_PATH)
- umbrellas = db.read()
- key_numbers = [umb["id"] for umb in umbrellas]
now = datetime.now()
takeaway_rows = [
mock_answer_sheet(*ALICE, 1, 1, now - timedelta(days=7)),