(monkeypatch: pytest.MonkeyPatch)
| 181 | |
| 182 | |
| 183 | def test_skip_auth_async(monkeypatch: pytest.MonkeyPatch) -> None: |
| 184 | monkeypatch.delenv("ANTHROPIC_AWS_WORKSPACE_ID", raising=False) |
| 185 | client = AsyncAnthropicAWS(skip_auth=True, base_url="https://custom.example.com") |
| 186 | assert client._skip_auth is True |
| 187 | assert client._use_sigv4 is False |
| 188 | |
| 189 | |
| 190 | @pytest.mark.filterwarnings("ignore::DeprecationWarning") |
nothing calls this directly
no test coverage detected