2020-06-29 12:55:27 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
|
|
from testflows.core import *
|
|
|
|
|
2020-09-03 13:53:34 +00:00
|
|
|
append_path(sys.path, "..")
|
2020-06-29 12:55:27 +00:00
|
|
|
|
|
|
|
from helpers.argparser import argparser
|
|
|
|
|
2020-09-03 13:53:34 +00:00
|
|
|
@TestModule
|
|
|
|
@Name("ldap")
|
2020-06-29 12:55:27 +00:00
|
|
|
@ArgumentParser(argparser)
|
|
|
|
def regression(self, local, clickhouse_binary_path):
|
2020-09-03 13:53:34 +00:00
|
|
|
"""ClickHouse LDAP integration regression module.
|
2020-06-29 12:55:27 +00:00
|
|
|
"""
|
2020-09-03 13:53:34 +00:00
|
|
|
args = {"local": local, "clickhouse_binary_path": clickhouse_binary_path}
|
2020-06-29 12:55:27 +00:00
|
|
|
|
2020-09-03 13:53:34 +00:00
|
|
|
Feature(test=load("ldap.authentication.regression", "regression"))(**args)
|
2020-09-03 14:53:09 +00:00
|
|
|
Feature(test=load("ldap.external_user_directory.regression", "regression"))(**args)
|
2020-06-29 12:55:27 +00:00
|
|
|
|
|
|
|
if main():
|
|
|
|
regression()
|