

def test__aggregate4(self):
    pipeline = [{
        '$unwind': '$swallows',
    }, {
        '$sort': {
            'count': (- 1),
            'swallows': (- 1),
        },
    }]
    pipeline.cmp.compare.aggregate(pipeline)

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py MongoClientAggregateTest.test__aggregate4/VarMisuse@50/70 `self`->`pipeline`