Beispiel #1
0
        def wrapper(func, *args, **kwargs):
            version = kafka_version()

            if not version:
                pytest.skip("no kafka version set in KAFKA_VERSION env var")

            for f in validators:
                if not f(version):
                    pytest.skip("unsupported kafka version")

            return func(*args, **kwargs)
Beispiel #2
0
        def wrapper(func, *args, **kwargs):
            version = kafka_version()

            if not version:
                pytest.skip("no kafka version set in KAFKA_VERSION env var")

            for f in validators:
                if not f(version):
                    pytest.skip("unsupported kafka version")

            return func(*args, **kwargs)
Beispiel #3
0
def version():
    """Return the Kafka version set in the OS environment"""
    return kafka_version()
Beispiel #4
0
def version():
    """Return the Kafka version set in the OS environment"""
    return kafka_version()