'Format the filters to a comprehensive WQL `WHERE` clause w/ mixed filter containing regular and operator modified properties.'

def test_wql_filtering_op_adv(self):

    from checks.libs.wmi import sampler
    format_filter = sampler.WMISampler._format_filter
    filters = [{'Name': 'Foo%'}, {'Name': 'Bar%', 'Id': ('>=', 'SomeId')}, {'Name': 'Zulu'}]
    self.assertEquals("    WHERE    (    Name    =    'Zulu'    )    OR    (    Name    LIKE    'Bar%'    AND    Id    >=    'SomeId'    )    OR    (    Name    LIKE    'Foo%'    )", format_filter(filters))
