mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-08 22:22:17 +02:00
refactor(mcp): rename SURFSENSE_PAT to SURFSENSE_API_KEY
This commit is contained in:
parent
b2bf925f63
commit
faa6d6baea
9 changed files with 21 additions and 21 deletions
|
|
@ -15,7 +15,7 @@ def _response(status: int, **kwargs) -> httpx.Response:
|
|||
|
||||
def test_explains_401_with_token_hint():
|
||||
message = SurfSenseClient._explain_failure(_response(401, json={"detail": "bad"}))
|
||||
assert "SURFSENSE_PAT" in message
|
||||
assert "SURFSENSE_API_KEY" in message
|
||||
assert "bad" in message
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue