(self)
| 135 | self.assertEqual(self.collation.document, model.document["collation"]) |
| 136 | |
| 137 | def test_create_index(self): |
| 138 | self.db.test.create_index("foo", collation=self.collation) |
| 139 | ci_cmd = self.listener.started_events[0].command |
| 140 | self.assertEqual(self.collation.document, ci_cmd["indexes"][0]["collation"]) |
| 141 | |
| 142 | def test_aggregate(self): |
| 143 | self.db.test.aggregate([{"$group": {"_id": 42}}], collation=self.collation) |
nothing calls this directly
no test coverage detected