We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce3495c commit ea3399bCopy full SHA for ea3399b
1 file changed
tests/test_api_token_compatibility.py
@@ -2,7 +2,6 @@
2
3
from __future__ import annotations
4
5
-import os
6
import pytest
7
8
from replicate import Replicate, AsyncReplicate, ReplicateError
@@ -86,4 +85,4 @@ def test_bearer_token_overrides_env(self, monkeypatch: pytest.MonkeyPatch) -> No
86
85
"""Test that explicit bearer_token overrides environment variable."""
87
monkeypatch.setenv("REPLICATE_API_TOKEN", "env_token")
88
client = Replicate(bearer_token="explicit_token")
89
- assert client.bearer_token == "explicit_token"
+ assert client.bearer_token == "explicit_token"
0 commit comments