tests: make first admin workflows test run standalone (#36515)

This commit is contained in:
Frédéric Péters 2019-11-13 17:37:06 +01:00
parent 8f3419baf1
commit 697949b551
1 changed files with 2 additions and 0 deletions

View File

@ -2119,10 +2119,12 @@ def test_form_comment_with_error_in_wscall(http_requests, pub):
assert 'x [webservice.xxx.foobar] x' in resp.text
def test_workflows(pub):
create_superuser(pub)
app = login(get_app(pub))
app.get('/backoffice/workflows/')
def test_workflows_default(pub):
create_superuser(pub)
app = login(get_app(pub))
resp = app.get('/backoffice/workflows/')
assert 'Default' in resp.text