#!/usr/bin/env python3
import sys
from testflows.core import *

append_path(sys.path, "."), 

from helpers.argparser import argparser

@TestModule
@Name("clickhouse")
@ArgumentParser(argparser)
def regression(self, local, clickhouse_binary_path):
    """ClickHouse regression.
    """
    args = {"local": local, "clickhouse_binary_path": clickhouse_binary_path}

    Feature(test=load("example.regression", "regression"))(**args)
    Feature(test=load("ldap.regression", "regression"))(**args)

if main():
    regression()
