def test_importchecker(tmpdir): args = argparse.Namespace() args.cli = 'check' tmp_exec_file = os.path.join(str(tmpdir), 'tmp_exec.yml') tmp_exec_driver = os.path.join(str(tmpdir), 'tmp_driver.yml') args.summary_exec = tmp_exec_file args.summary_driver = tmp_exec_driver ImportChecker(args)
def check(args: 'Namespace'): """ Check jina config, settings, imports, network etc :param args: arguments coming from the CLI. """ from jina.checker import ImportChecker ImportChecker(args)
def check(args: 'Namespace'): """Check jina config, settings, imports, network etc""" from jina.checker import ImportChecker ImportChecker(args)