(self)
| 56 | self.assertEqual(self.bson_string, self.document.raw) |
| 57 | |
| 58 | def test_empty_doc(self): |
| 59 | doc = RawBSONDocument(encode({})) |
| 60 | with self.assertRaises(KeyError): |
| 61 | doc["does-not-exist"] |
| 62 | |
| 63 | def test_invalid_bson_sequence(self): |
| 64 | bson_byte_sequence = encode({"a": 1}) + encode({}) |
nothing calls this directly
no test coverage detected