From fcc3ce60bcfa57734a51723717fe681ee4bf1327 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sat, 5 Feb 2022 16:39:41 +0800 Subject: Config format switched to .ini Eliminated toml from dependency list --- jimbrella/test/jform_data.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'jimbrella/test/jform_data.py') 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)), -- cgit v1.2.3