(self)
| 532 | db.test.drop_indexes() |
| 533 | |
| 534 | def test_index_sparse(self): |
| 535 | db = self.db |
| 536 | db.test.drop_indexes() |
| 537 | db.test.create_index([("key", ASCENDING)], sparse=True) |
| 538 | self.assertTrue((db.test.index_information())["key_1"]["sparse"]) |
| 539 | |
| 540 | def test_index_background(self): |
| 541 | db = self.db |
nothing calls this directly
no test coverage detected