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

Method run

test/test_gridfs_bucket.py:75–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73 self.daemon = True
74
75 def run(self):
76 for _ in range(self.num):
77 file = self.gfs.open_download_stream_by_name("test")
78 data = file.read()
79 self.results.append(data)
80 assert data == b"hello"
81
82
83class TestGridfs(IntegrationTest):

Callers

nothing calls this directly

Calls 2

readMethod · 0.45

Tested by

no test coverage detected