Debian Codegraph @

tests/wire/test_users_organizations.py

raw symbols SCIP
1 from .conftest import get_client, verify_request_count
2
3
4 def test_users_organizations_list_() -> None:
5 """Test list endpoint with WireMock"""
6 test_id = "users.organizations.list_.0"
7 client = get_client(test_id)
8 client.users.organizations.list(
9 id="id",
10 page=1,
11 per_page=1,
12 include_totals=True,
13 )
14 verify_request_count(
15 test_id, "GET", "/users/id/organizations", {"page": "1", "per_page": "1", "include_totals": "true"}, 1
16 )