retirer PYTHONHASHSEED=0 (#10477) #559
|
@ -1446,10 +1446,9 @@ def test_statistics_multiple_forms_count(pub, formdef):
|
|||
# group by item field
|
||||
resp = get_app(pub).get(sign_uri(url + '&group-by=test-item'))
|
||||
assert resp.json['data']['x_labels'] == ['2021-01', '2021-02', '2021-03']
|
||||
assert resp.json['data']['series'] == [
|
||||
{'data': [20, None, None], 'label': 'Foo'},
|
||||
{'data': [None, None, 30], 'label': 'Baz'},
|
||||
]
|
||||
assert len(resp.json['data']['series']) == 2
|
||||
assert {'data': [20, None, None], 'label': 'Foo'} in resp.json['data']['series']
|
||||
assert {'data': [None, None, 30], 'label': 'Baz'} in resp.json['data']['series']
|
||||
|
||||
# filter on status
|
||||
resp = get_app(pub).get(sign_uri(url + '&filter-status=_all'))
|
||||
|
|
Loading…
Reference in New Issue