We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9ae43 commit 413d563Copy full SHA for 413d563
.github/workflows/tests.yml
@@ -0,0 +1,22 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ workflow_dispatch:
7
8
+jobs:
9
+ tests:
10
+ name: Run tests
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ with:
15
+ submodules: true
16
17
+ - uses: actions/setup-python@v4
18
+ - name: Run tests
19
+ run: |
20
+ pip3 install pytest ./livekit-protocol ./livekit-api ./livekit-rtc
21
+ pytest . --ignore=livekit-rtc/rust-sks
22
livekit-api/tests/test_access_token.py
@@ -45,7 +45,7 @@ def test_verify_token_expired():
45
token = (
46
AccessToken(TEST_API_KEY, TEST_API_SECRET)
47
.with_identity("test_identity")
48
- .with_ttl(datetime.timedelta(seconds=0))
+ .with_ttl(datetime.timedelta(seconds=-1))
49
.to_jwt()
50
)
51
0 commit comments