Test setting a new API key.
()
| 22 | |
| 23 | |
| 24 | def test_set_api_key(): |
| 25 | """Test setting a new API key.""" |
| 26 | client = SimStudioClient(api_key="test-api-key") |
| 27 | client.set_api_key("new-api-key") |
| 28 | assert client.api_key == "new-api-key" |
| 29 | |
| 30 | |
| 31 | def test_set_base_url(): |
nothing calls this directly
no test coverage detected