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

Method test_update_one

test/test_bulk.py:206–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

204 self.assertIn(result.modified_count, (1, None))
205
206 def test_update_one(self):
207 self._test_update_one({"$set": {"foo": "bar"}})
208
209 @client_context.require_version_min(4, 2, 0)
210 def test_update_one_pipeline(self):

Callers

nothing calls this directly

Calls 1

_test_update_oneMethod · 0.95

Tested by

no test coverage detected