MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / test_encoding_6

Method test_encoding_6

test/test_binary.py:322–324  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320
321 # Explicit encoding prose test #6
322 def test_encoding_6(self):
323 with self.assertRaises(ValueError):
324 Binary.from_uuid(self.uuid, UuidRepresentation.UNSPECIFIED)
325
326 # Explicit decoding prose test #1
327 def test_decoding_1(self):

Callers

nothing calls this directly

Calls 1

from_uuidMethod · 0.80

Tested by

no test coverage detected