| 1 | from .conftest import get_client, verify_request_count |
| 2 | |
| 3 | |
| 4 | def test_users_effectiveRoles_sources_groups_list_() -> None: |
| 5 | """Test list endpoint with WireMock""" |
| 6 | test_id = "users.effective_roles.sources.groups.list_.0" |
| 7 | client = get_client(test_id) |
| 8 | client.users.effective_roles.sources.groups.list( |
| 9 | id="id", |
| 10 | role_id="role_id", |
| 11 | from_="from", |
| 12 | take=1, |
| 13 | ) |
| 14 | verify_request_count( |
| 15 | test_id, |
| 16 | "GET", |
| 17 | "/users/id/effective-roles/sources/groups", |
| 18 | {"role_id": "role_id", "from": "from", "take": "1"}, |
| 19 | 1, |
| 20 | ) |