(self)
| 520 | assert client.base_url == "https://example.com/from_setter/" |
| 521 | |
| 522 | def test_base_url_env(self) -> None: |
| 523 | with update_env(OPENCODE_BASE_URL="http://localhost:5000/from/env"): |
| 524 | client = Opencode(_strict_response_validation=True) |
| 525 | assert client.base_url == "http://localhost:5000/from/env/" |
| 526 | |
| 527 | @pytest.mark.parametrize( |
| 528 | "client", |
nothing calls this directly
no test coverage detected