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

Method test_decoding_3

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

Source from the content-addressed store, hash-verified

460
461 # Implicit decoding pose test #3
462 def test_decoding_3(self):
463 expected_standard_value = Binary.from_uuid(self.uuid, UuidRepresentation.STANDARD)
464 for legacy_uuid_rep in (
465 UuidRepresentation.PYTHON_LEGACY,
466 UuidRepresentation.CSHARP_LEGACY,
467 UuidRepresentation.JAVA_LEGACY,
468 ):
469 expected_legacy_value = Binary.from_uuid(self.uuid, legacy_uuid_rep)
470 self._test_decoding(
471 "unspecified", legacy_uuid_rep, expected_standard_value, expected_legacy_value
472 )
473
474
475if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

_test_decodingMethod · 0.95
from_uuidMethod · 0.80

Tested by

no test coverage detected