should fix the test
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
614ff32a23
commit
7baeb009d4
|
@ -13,7 +13,7 @@ from django.utils.encoding import force_str
|
|||
from django.utils.timezone import localtime
|
||||
from quixote import get_publisher
|
||||
|
||||
from wcs import fields, qommon
|
||||
from wcs import fields, qommon, sql
|
||||
from wcs.api_access import ApiAccess
|
||||
from wcs.api_utils import sign_url
|
||||
from wcs.blocks import BlockDef
|
||||
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue