Debian Codegraph @

tests/wire/test_branding_templates.py

raw symbols SCIP
1 from .conftest import get_client, verify_request_count
2
3
4 def test_branding_templates_get_universal_login() -> None:
5 """Test getUniversalLogin endpoint with WireMock"""
6 test_id = "branding.templates.get_universal_login.0"
7 client = get_client(test_id)
8 client.branding.templates.get_universal_login()
9 verify_request_count(test_id, "GET", "/branding/templates/universal-login", None, 1)
10
11
12 def test_branding_templates_update_universal_login() -> None:
13 """Test updateUniversalLogin endpoint with WireMock"""
14 test_id = "branding.templates.update_universal_login.0"
15 client = get_client(test_id)
16 client.branding.templates.update_universal_login(
17 request="string",
18 )
19 verify_request_count(test_id, "PUT", "/branding/templates/universal-login", None, 1)
20
21
22 def test_branding_templates_delete_universal_login() -> None:
23 """Test deleteUniversalLogin endpoint with WireMock"""
24 test_id = "branding.templates.delete_universal_login.0"
25 client = get_client(test_id)
26 client.branding.templates.delete_universal_login()
27 verify_request_count(test_id, "DELETE", "/branding/templates/universal-login", None, 1)