Test setting a new base URL.
()
| 29 | |
| 30 | |
| 31 | def test_set_base_url(): |
| 32 | """Test setting a new base URL.""" |
| 33 | client = SimStudioClient(api_key="test-api-key") |
| 34 | client.set_base_url("https://new.sim.ai/") |
| 35 | assert client.base_url == "https://new.sim.ai" |
| 36 | |
| 37 | |
| 38 | def test_set_base_url_strips_trailing_slash(): |
nothing calls this directly
no test coverage detected