Skip to content

Commit b13a179

Browse files
committed
tests: regression with anonymous access
1 parent 18495c2 commit b13a179

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_dbmodel_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_get_collections():
3838

3939

4040
def test_get_users_anonymous():
41-
api = common.get_api()
41+
api = CKANAPI(server=common.SERVER) # anonymous access
4242
db = db_api.APIInterrogator(api=api)
4343
with pytest.raises(errors.APIAuthorizationError, match="Access denied"):
4444
db.get_users()

0 commit comments

Comments
 (0)