def test_querystring_update_filter_or_without_value(self, registry_blok): registry = registry_blok request = MockRequest(self) model = registry.System.Blok key = 'name' op = 'or-ilike' value = None qs = QueryString(request, model) assert qs.update_or_filter(model, key, op, value) is None
def test_querystring_update_filter_or_without_value(self): registry = self.init_registry(None) request = MockRequest(self) model = registry.System.Blok key = 'name' op = 'or-ilike' value = None qs = QueryString(request, model) self.assertIsNone(qs.update_or_filter(model, key, op, value))