(self)
| 633 | |
| 634 | class TestJsonMultiImport(PerformanceTest, unittest.TestCase): |
| 635 | def setUp(self): |
| 636 | super().setUp() |
| 637 | self.client = client_context.client |
| 638 | self.client.drop_database("perftest") |
| 639 | ldjson_path = os.path.join(TEST_PATH, os.path.join("parallel", "ldjson_multi")) |
| 640 | self.files = [os.path.join(ldjson_path, s) for s in os.listdir(ldjson_path)] |
| 641 | self.data_size = sum(os.path.getsize(fname) for fname in self.files) |
| 642 | self.corpus = self.client.perftest.corpus |
| 643 | |
| 644 | def before(self): |
| 645 | self.client.perftest.command({"create": "corpus"}) |
nothing calls this directly
no test coverage detected