(self)
| 697 | self.assertNotIn("_id", l) |
| 698 | |
| 699 | def test_options(self): |
| 700 | db = self.db |
| 701 | db.drop_collection("test") |
| 702 | db.create_collection("test", capped=True, size=4096) |
| 703 | result = db.test.options() |
| 704 | self.assertEqual(result, {"capped": True, "size": 4096}) |
| 705 | db.drop_collection("test") |
| 706 | |
| 707 | def test_insert_one(self): |
| 708 | db = self.db |
nothing calls this directly
no test coverage detected