Debian Codegraph @

tests/wire/test_prompts.py

raw symbols SCIP
1 from .conftest import get_client, verify_request_count
2
3
4 def test_prompts_get_settings() -> None:
5 """Test getSettings endpoint with WireMock"""
6 test_id = "prompts.get_settings.0"
7 client = get_client(test_id)
8 client.prompts.get_settings()
9 verify_request_count(test_id, "GET", "/prompts", None, 1)
10
11
12 def test_prompts_update_settings() -> None:
13 """Test updateSettings endpoint with WireMock"""
14 test_id = "prompts.update_settings.0"
15 client = get_client(test_id)
16 client.prompts.update_settings()
17 verify_request_count(test_id, "PATCH", "/prompts", None, 1)