Skip to content

Commit c993e14

Browse files
committed
Extend fake token validity
1 parent 196629e commit c993e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_servicex_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ async def test_get_authorization_no_token_no_refresh(servicex, monkeypatch):
686686

687687

688688
@pytest.mark.asyncio
689-
@patch("servicex.servicex_adapter.jwt.decode", return_value={"exp": time.time() + 120})
689+
@patch("servicex.servicex_adapter.jwt.decode", return_value={"exp": time.time() + 600})
690690
async def test_get_authorization_with_valid_token(decode, servicex):
691691
servicex.token = "tok123"
692692
headers = await servicex._get_authorization()

0 commit comments

Comments
 (0)