chore: move load examples to the fixture (#10545)

* Move load examples to the fixture

* Update tests/celery_tests.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Address feedback

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
This commit is contained in:
Bogdan
2020-08-10 13:20:19 -07:00
committed by GitHub
parent 8190dcb61f
commit 0071d374da
8 changed files with 81 additions and 66 deletions

View File

@@ -23,5 +23,6 @@ echo "Superset config module: $SUPERSET_CONFIG"
superset db upgrade
superset init
pytest --maxfail=1 tests/load_examples_test.py
pytest --maxfail=1 --cov=superset --ignore=load_examples_test tests/*
echo "Running tests"
pytest --maxfail=1 --cov=superset