mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
11 lines
322 B
Python
11 lines
322 B
Python
from tests.seeder import Seeder
|
|
from tests.utils import UtilActions
|
|
|
|
|
|
def test_list(client, seeder: Seeder, utils: UtilActions):
|
|
user_id, admin_unit_id = seeder.setup_api_access(user_access=False)
|
|
seeder.create_event(admin_unit_id)
|
|
|
|
url = utils.get_url("api_v1_event_category_list")
|
|
utils.get_json_ok(url)
|