Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Jun 5, 2022
1 parent df905c0 commit c88871a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/smoke.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ tox -c tox.ini \

tox -c tox-integration.ini \
-e py${PYVER}-generic \
-e py${PYVER}-advanced \
-e py${PYVER}-components \
-e py${PYVER}-mqtt
2 changes: 1 addition & 1 deletion tests/integration/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def login():
payload = {
"sub": "test-user",
"aud": audience,
"exp": datetime.utcnow() + timedelta(hours=1),
"exp": datetime.datetime.utcnow() + datetime.timedelta(hours=1),
}

token = jwt.encode(payload, secret, algorithm="HS256")
Expand Down

0 comments on commit c88871a

Please sign in to comment.