We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086d96f commit 1edd4aaCopy full SHA for 1edd4aa
tests/test_jwt.py
@@ -11,7 +11,12 @@ def utc_timestamp():
11
12
13
class TestJWT(unittest.TestCase):
14
-
+ """
15
+ These tests exist primarily to ensure that calls to jwt.encode and
16
+ jwt.decode don't explode. Most functionality is tested by the PyJWT class
17
+ tests. This is primarily a sanity check to make sure we don't break the
18
+ public global functions.
19
20
def setUp(self): # noqa
21
self.payload = {'iss': 'jeff', 'exp': utc_timestamp() + 15,
22
'claim': 'insanity'}
0 commit comments