From ad55d50d6a219f11052c11804521947c0769548d Mon Sep 17 00:00:00 2001 From: Johannes Laurin Hoermann Date: Mon, 22 Apr 2024 17:06:40 +0200 Subject: [PATCH] TST: register_permissions again --- tests/conftest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 4af3646..3f096de 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,7 +30,7 @@ def tmp_app_with_users(request): from dtool_lookup_server.utils import ( register_users, register_base_uri, - put_permissions, + register_permissions, ) tmp_mongo_db_name = random_string() @@ -81,7 +81,7 @@ def tmp_app_with_users(request): "users_with_search_permissions": ["grumpy", "sleepy"], "users_with_register_permissions": ["grumpy"] } - put_permissions(base_uri, permissions) + register_permissions(base_uri, permissions) @request.addfinalizer def teardown(): @@ -101,7 +101,7 @@ def tmp_app_with_data(request): register_users, register_base_uri, register_dataset, - put_permissions, + register_permissions, ) tmp_mongo_db_name = random_string() @@ -154,7 +154,7 @@ def tmp_app_with_data(request): "users_with_search_permissions": [username], "users_with_register_permissions": [username] } - put_permissions(base_uri, permissions) + register_permissions(base_uri, permissions) # Add some data to the database. for base_uri in ["s3://snow-white", "s3://mr-men"]: