From baa8e043f7d5c6ee34dcc32e7ceabf2d596f47c2 Mon Sep 17 00:00:00 2001 From: Daniel Grams Date: Mon, 22 May 2023 15:52:31 +0200 Subject: [PATCH] API access with authorization #475 --- tests/api/test_organization.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/api/test_organization.py b/tests/api/test_organization.py index 8cf59ab..4f302c7 100644 --- a/tests/api/test_organization.py +++ b/tests/api/test_organization.py @@ -426,15 +426,8 @@ def test_references_outgoing(client, seeder: Seeder, utils: UtilActions): utils.get_json_ok(url) -@pytest.mark.parametrize("session_based", [True, False]) -def test_outgoing_relation_list( - client, seeder: Seeder, utils: UtilActions, session_based -): - user_id, admin_unit_id = ( - seeder.setup_api_access(user_access=False) - if session_based - else seeder.setup_api_access() - ) +def test_outgoing_relation_list(client, seeder: Seeder, utils: UtilActions): + user_id, admin_unit_id = seeder.setup_api_access() ( other_user_id, other_admin_unit_id,