tests: adapt empty statistics page for python 3 (#15644)

This commit is contained in:
Frédéric Péters 2020-05-05 15:05:05 +02:00
parent 0f06fecbc1
commit 739f2557b3
1 changed files with 2 additions and 1 deletions

View File

@ -1563,7 +1563,8 @@ def test_backoffice_statistics_with_no_formdefs(pub):
app = login(get_app(pub))
resp = app.get('/backoffice/management/statistics')
assert 'This site is currently empty.' in resp.body
assert 'This site is currently empty.' in resp
def test_backoffice_statistics_status_filter(pub):
create_superuser(pub)