Skip to content
Snippets Groups Projects

Wrong model

3 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline

Files

@@ -23,7 +23,7 @@ class JwtTest(unittest.TestCase):
'roles': roles
}
}
with open('test/rsa/rs256.key', 'rb') as fh:
with open('tests/rsa/rs256.key', 'rb') as fh:
return jwt.JWT().encode(claims, jwt.jwk_from_pem(fh.read()), alg='RS256')
def test_obtain_user_token_succeeds(self):
Loading