mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-14 12:58:46 +02:00
test: Update to new functions
This commit is contained in:
parent
35d54301e8
commit
83d313150c
@ -172,19 +172,28 @@ def test_get_where_malformed_yearly_results(
|
||||
"_id": "abc",
|
||||
"name": "Fielmann",
|
||||
"Hotel?": "Trivago",
|
||||
"yearly_results": {"Vor Aeonen": 42, "2022": 4711},
|
||||
"yearly_results": {
|
||||
"Vor Aeonen": {"auditors": [], 42: 1},
|
||||
"2022": {"auditors": [], 42: 1},
|
||||
},
|
||||
},
|
||||
{
|
||||
"_id": "abc",
|
||||
"name": "Fielmann",
|
||||
"Hotel?": "Trivago",
|
||||
"yearly_results": {"1998": 42, "2022": 4711},
|
||||
"yearly_results": {
|
||||
"1998": {"auditors": [], 42: 1},
|
||||
"2022": {"auditors": [], 42: 1},
|
||||
},
|
||||
},
|
||||
{
|
||||
"_id": "abc",
|
||||
"name": "Fielmann",
|
||||
"Hotel?": "Trivago",
|
||||
"yearly_results": {"19": 42, "2022": 4711},
|
||||
"yearly_results": {
|
||||
"19": {"auditors": [], 42: 1},
|
||||
"2022": {"auditors": [], 42: 1},
|
||||
},
|
||||
},
|
||||
]
|
||||
mock_collection.find.return_value = mock_result
|
||||
|
Loading…
x
Reference in New Issue
Block a user