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