aboutsummaryrefslogtreecommitdiff
path: root/test/state_3users.json
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2022-10-28 18:16:47 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-08-10 15:04:16 +0200
commit26831dca32c471415b1afa470ac8dbfd1fd348a6 (patch)
treed7ae2a62eedd2a2af2638c2475cc6af93ca4af51 /test/state_3users.json
parent2cf937b89e5f0bcd0b86dc75835e8a2315f01fd7 (diff)
downloadgeldschieberbot-26831dca32c471415b1afa470ac8dbfd1fd348a6.tar.gz
geldschieberbot-26831dca32c471415b1afa470ac8dbfd1fd348a6.zip
introduce dataclasses for the passed data
Refactor all implicit dictionaries into explicit data classes. This makes the code more explicit, easier to check for mypy and overall more maintainable.
Diffstat (limited to 'test/state_3users.json')
-rw-r--r--test/state_3users.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/state_3users.json b/test/state_3users.json
index 7d4414a..64e95ae 100644
--- a/test/state_3users.json
+++ b/test/state_3users.json
@@ -1 +1 @@
-{"balance": {"alice": {"bob": 0, "charlie": 0}, "bob": {"alice": 0, "charlie": 0}, "charlie": {"alice": 0, "bob": 0}}, "name2num": {"alice": "+49123456", "bob": "+49654321", "charlie": "+49615243"}, "num2name": {"+49123456": "alice", "+49654321": "bob", "+49615243": "charlie"}, "cars": {}, "scheduled_cmds": {}, "changes": {"alice": [], "bob": [], "charlie": []}, "aliases": {}} \ No newline at end of file
+{"balance": {"alice": {"bob": 0, "charlie": 0}, "bob": {"alice": 0, "charlie": 0}, "charlie": {"alice": 0, "bob": 0}}, "name2num": {"alice": "+49123456", "bob": "+49654321", "charlie": "+49615243"}, "num2name": {"+49123456": "alice", "+49654321": "bob", "+49615243": "charlie"}, "available_cars": {}, "scheduled_cmds": {}, "changes": {"alice": [], "bob": [], "charlie": []}, "aliases": {}} \ No newline at end of file