Example #1
0
 def test_from_json_hashable(self):
     from acme.jose.jwk import JWKOct
     hash(JWKOct.from_json(self.jobj))
Example #2
0
 def test_from_json_hashable(self):
     from acme.jose.jwk import JWKOct
     hash(JWKOct.from_json(self.jobj))
Example #3
0
 def test_from_json(self):
     from acme.jose.jwk import JWKOct
     self.assertEqual(self.jwk, JWKOct.from_json(self.jobj))
Example #4
0
 def test_from_json(self):
     from acme.jose.jwk import JWKOct
     self.assertEqual(self.jwk, JWKOct.from_json(self.jobj))