def test_external_task_cmd_line(self): run_dbnd_subprocess__dbnd_run([ "dbnd_sanity_check", "--env", "local_resubmit", "--conf-file", self.test_config, ])
def run_dbnd_subprocess_test(*args, **kwargs): logger.error( " cwd='%s'," " sys.path=\n\t%s" "\nPYTHONPATH=%s", os.getcwd(), "\n\t".join(sys.path), os.environ.get("PYTHONPATH"), ) env = os.environ.copy() env["PYTHONPATH"] = ":".join( [ env.get("PYTHONPATH", ""), project_path("modules", "dbnd"), ] # we add current project so we can import test_dbnd ) return run_dbnd_subprocess__dbnd_run(*args, module=factories, env=env, **kwargs)
def test_run_airflow_dag(self): """ Test that `databand --help` fits on one screen """ run_dbnd_subprocess__dbnd_run(["bash_dag"])
def test_external_task_cmd_line(self): run_dbnd_subprocess__dbnd_run( ["dbnd_sanity_check", "--env", "local_resubmit"])