diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-12-28 20:49:13 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-12-28 20:49:13 +1100 |
| commit | 4ad7206443660587a15a7b47384b927188155da8 (patch) | |
| tree | e925a1169bcf48b5b9a165f6202b0e1e7cdbca21 /backend/tests/test_histplorer.py | |
| parent | db9321ca32f283f7fd59e2e8b5f8a695c66fce98 (diff) | |
Convert 'scores' table to 'events_disp', removing 'scores' column
Diffstat (limited to 'backend/tests/test_histplorer.py')
| -rw-r--r-- | backend/tests/test_histplorer.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/backend/tests/test_histplorer.py b/backend/tests/test_histplorer.py index eb89f50..a2b4623 100644 --- a/backend/tests/test_histplorer.py +++ b/backend/tests/test_histplorer.py @@ -34,16 +34,16 @@ def initTestDb(dbFile: str) -> None: ) createTestDbTable( dbFile, - 'CREATE TABLE scores (id INT, scale INT, score INT, PRIMARY KEY (id, scale))', - 'INSERT INTO scores VALUES (?, ?, ?)', + 'CREATE TABLE event_disp (id INT, scale INT, PRIMARY KEY (id, scale))', + 'INSERT INTO event_disp VALUES (?, ?)', { - (1, 1, 11), - (1, 10, 11), - (2, 1, 21), - (3, 1, 0), - (4, 1, 1000), - (5, 1, 51), - (6, 10, 60), + (1, 1), + (1, 10), + (2, 1), + (3, 1), + (4, 1), + (5, 1), + (6, 10), } ) createTestDbTable( |
