MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / test_encode_then_decode_legacy

Method test_encode_then_decode_legacy

test/test_bson.py:184–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 self.check_encode_then_decode(doc_class=NotADict)
183
184 def test_encode_then_decode_legacy(self):
185 self.check_encode_then_decode(
186 encoder=BSON.encode, decoder=lambda *args: BSON(args[0]).decode(*args[1:])
187 )
188
189 def test_encode_then_decode_any_mapping_legacy(self):
190 self.check_encode_then_decode(

Callers

nothing calls this directly

Calls 3

BSONClass · 0.90
decodeMethod · 0.80

Tested by

no test coverage detected