(self)
| 678 | |
| 679 | class TestGridFsMultiFileUpload(PerformanceTest, unittest.TestCase): |
| 680 | def setUp(self): |
| 681 | super().setUp() |
| 682 | self.client = client_context.client |
| 683 | self.client.drop_database("perftest") |
| 684 | gridfs_path = os.path.join(TEST_PATH, os.path.join("parallel", "gridfs_multi")) |
| 685 | self.files = [os.path.join(gridfs_path, s) for s in os.listdir(gridfs_path)] |
| 686 | self.data_size = sum(os.path.getsize(fname) for fname in self.files) |
| 687 | |
| 688 | def before(self): |
| 689 | self.client.perftest.drop_collection("fs.files") |
nothing calls this directly
no test coverage detected