def tester(f):
    def inner(unit):
        args, kwargs = f.test.get('args', ()), f.test.get('kwargs', {})
        result = len(kwargs) or f(*args, **kwargs) or f(*args)
        unit.assertEquals(result, f.test.get('result', True))
    return inner
dataset/ETHPy150Open justquick/django-native-tags/native_tags/tests.py/tester/operator `and` -> `or`