MCPcopy
hub / github.com/pyca/cryptography / test_from_bytes_invalid

Method test_from_bytes_invalid

tests/x509/test_x509.py:6783–6785  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

6781 ],
6782 )
6783 def test_from_bytes_invalid(self, data):
6784 with pytest.raises(ValueError):
6785 x509.Name.from_bytes(data)
6786
6787 def test_bitstring_encoding(self):
6788 name = x509.Name(

Callers

nothing calls this directly

Calls 1

from_bytesMethod · 0.80

Tested by

no test coverage detected