[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6ad8cb6d47
commit
33faff1923
1 changed files with 3 additions and 3 deletions
|
|
@ -79,9 +79,9 @@ def test_rollback_restores_native_lease_expiry_with_token():
|
|||
(which would look non-expiring and skip the expiry guard)."""
|
||||
src = _read("features/chat/hooks/use-chat-model-runtime.ts")
|
||||
assert "previousActiveNativePathExpiresAtMs" in src
|
||||
assert re.search(r"activeNativePathExpiresAtMs:\s*previousActiveNativePathToken", src), (
|
||||
"rollback must restore the expiry alongside the token"
|
||||
)
|
||||
assert re.search(
|
||||
r"activeNativePathExpiresAtMs:\s*previousActiveNativePathToken", src
|
||||
), "rollback must restore the expiry alongside the token"
|
||||
|
||||
|
||||
def test_default_caches_keyed_on_inventory_version():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue