| 1 | from .conftest import get_client, verify_request_count |
| 2 | |
| 3 | |
| 4 | def test_organizations_groups_list_() -> None: |
| 5 | """Test list endpoint with WireMock""" |
| 6 | test_id = "organizations.groups.list_.0" |
| 7 | client = get_client(test_id) |
| 8 | client.organizations.groups.list( |
| 9 | organization_id="organization_id", |
| 10 | from_="from", |
| 11 | take=1, |
| 12 | ) |
| 13 | verify_request_count(test_id, "GET", "/organizations/organization_id/groups", {"from": "from", "take": "1"}, 1) |