

def test__group1(self):
    key = ['a']
    initial = {
        'count': 0,
    }
    condition = {
        'a': {
            '$lt': 3,
        },
    }
    reduce_func = Code('\n                function(cur, result) { result.count += cur.count }\n                ')
    self.cmp.compare.group(condition, condition, initial, reduce_func)

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py _GroupTest.test__group1/VarMisuse@60/101 `key`->`condition`