'Format the filters to a comprehensive and inclusive WQL `WHERE` clause.'

def test_wql_filtering_inclusive(self):

    from checks.libs.wmi import sampler
    format_filter = sampler.WMISampler._format_filter
    filters = [{'Name': 'SomeName'}, {'Id': 'SomeId'}]
    self.assertEquals("    WHERE    (    Id    =    'SomeId'    )    OR    (    Name    =    'SomeName'    )", format_filter(filters, True))
