MCPcopy Create free account
hub / github.com/mpdavis/python-jose / test_to_dict

Method test_to_dict

tests/algorithms/test_EC.py:226–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 json.dumps(as_dict)
225
226 def test_to_dict(self):
227 key = ECKey(private_key, ALGORITHMS.ES256)
228 self.assert_parameters(key.to_dict(), private=True)
229 self.assert_parameters(key.public_key().to_dict(), private=False)
230
231
232@pytest.mark.cryptography

Callers

nothing calls this directly

Calls 3

assert_parametersMethod · 0.95
to_dictMethod · 0.45
public_keyMethod · 0.45

Tested by

no test coverage detected