(self)
| 162 | self.assertCollationInLastCommand() |
| 163 | |
| 164 | def test_explain_command(self): |
| 165 | self.listener.reset() |
| 166 | self.db.test.find(collation=self.collation).explain() |
| 167 | # The collation should be part of the explained command. |
| 168 | self.assertEqual( |
| 169 | self.collation.document, self.last_command_started()["explain"]["collation"] |
| 170 | ) |
| 171 | |
| 172 | def test_delete(self): |
| 173 | self.db.test.delete_one({"foo": 42}, collation=self.collation) |
nothing calls this directly
no test coverage detected