mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-20 02:56:11 +00:00
API access with authorization #475
This commit is contained in:
parent
fb34d4323c
commit
baa8e043f7
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user