mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-09 03:11:58 +00:00
test(auth): assert Nous refresh rotation payload
This commit is contained in:
parent
b32461f6e8
commit
80775d7585
1 changed files with 1 additions and 0 deletions
|
|
@ -892,6 +892,7 @@ def test_refresh_token_exchange_sends_refresh_token_header():
|
|||
)
|
||||
|
||||
assert payload["access_token"] == "access-2"
|
||||
assert payload["refresh_token"] == "refresh-2"
|
||||
assert client.kwargs is not None
|
||||
assert client.kwargs["headers"]["x-nous-refresh-token"] == "refresh-1"
|
||||
assert client.kwargs["data"] == {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue