incubator-airflow/run_unit_tests.sh

7 строки
333 B
Bash
Executable File

export AIRFLOW_HOME=${AIRFLOW_HOME:=~/airflow}
export AIRFLOW_CONFIG=$AIRFLOW_HOME/unittests.cfg
rm airflow/www/static/coverage/*
nosetests --with-doctest --with-coverage --cover-html --cover-package=airflow -v --cover-html-dir=airflow/www/static/coverage
# To run idividual tests:
# nosetests tests.core:CoreTest.test_scheduler_job