Skip to content

Commit bd240e9

Browse files
committed
Adding ecdsa library to test requirements.
1 parent 13a40f0 commit bd240e9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/test_jwt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def test_decodes_valid_es384_jwt(self):
9292
b"uTu7102G_QIXiijY5bx6mdmZa3xUuKeu-zobOIOqR8Zw"
9393
b"FqGjBLZum")
9494
decoded_payload = jwt.decode(example_jwt, example_pubkey)
95+
9596
self.assertEqual(decoded_payload, example_payload)
9697

9798
# 'Control' RSA JWT created by another library.

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
envlist = py26, py27, py32, py33
33

44
[testenv]
5-
deps = PyCrypto
5+
deps =
6+
PyCrypto
7+
ecdsa
68
commands = {envpython} setup.py test

0 commit comments

Comments
 (0)