should fix the test
gitea/wcs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pierre Ducroquet 2024-04-09 16:11:54 +02:00
parent 614ff32a23
commit 6bc9588111
1 changed files with 3 additions and 0 deletions

View File

@ -386,6 +386,9 @@ def test_backoffice_submission_formdef_list(pub, local_user, access, auth):
@pytest.mark.parametrize('auth', ['signature', 'http-basic'])
def test_backoffice_submission_formdef_list_search(pub, local_user, access, auth):
# purge garbage from other tests
sql.purge_obsolete_search_tokens()
pub.role_class.wipe()
role = pub.role_class(name='Foo bar')
role.store()