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

Method test_read_concern

test/test_cursor.py:1623–1626  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1621 next(self.db.test.find_raw_batches(collation=Collation("en_US")))
1622
1623 def test_read_concern(self):
1624 self.db.get_collection("test", write_concern=WriteConcern(w="majority")).insert_one({})
1625 c = self.db.get_collection("test", read_concern=ReadConcern("majority"))
1626 next(c.find_raw_batches())
1627
1628 def test_monitoring(self):
1629 listener = OvertCommandListener()

Callers

nothing calls this directly

Calls 6

WriteConcernClass · 0.90
ReadConcernClass · 0.90
nextFunction · 0.90
insert_oneMethod · 0.45
get_collectionMethod · 0.45
find_raw_batchesMethod · 0.45

Tested by

no test coverage detected