'Test that get_service_providers filters correctly.'

def test_get_service_providers(self):

    self._set_override([(constants.LOADBALANCER + ':lbaas:driver_path1'), (constants.FIREWALL + ':fwaas:driver_path2')])
    ctx = context.get_admin_context()
    res = self.manager.get_service_providers(ctx, filters=dict(service_type=[constants.LOADBALANCER]))
    self.assertEqual(1, len(res))
    res = self.manager.get_service_providers(ctx, filters=dict(service_type=[constants.FIREWALL]))
    self.assertEqual(1, len(res))
