

def test__find_sort_list(self):
    self.cmp.do.remove()
    for data in ({
        'a': 1,
        'b': 3,
        'c': 'data1',
    }, {
        'a': 2,
        'b': 2,
        'c': 'data3',
    }, {
        'a': 3,
        'b': 1,
        'c': 'data2',
    }):
        self.cmp.do.insert(data)
    self.cmp.compare.find(sort=[('a', 1), ('b', (- 1))])
    self.cmp.compare.find(sort=[('b', 1), ('a', (- 1))])
    data.cmp.compare.find(sort=[('b', 1), ('a', (- 1)), ('c', 1)])

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py MongoClientCollectionTest.test__find_sort_list/VarMisuse@152/192 `self`->`data`