(self)
| 131 | self.assertCollationInLastCommand() |
| 132 | |
| 133 | def test_index_model(self): |
| 134 | model = IndexModel([("a", 1), ("b", -1)], collation=self.collation) |
| 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) |