fix: Resolves #10535 (#10536)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley 2020-08-10 09:59:34 -07:00 committed by GitHub
parent 5a908d4513
commit 5e944e5730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,8 @@
# celery worker --app=superset.tasks.celery_app:app -Ofair -c 2
[testenv]
commands =
{toxinidir}/superset/bin/superset db upgrade
{toxinidir}/superset/bin/superset init
superset db upgrade
superset init
pytest -ra -q tests/load_examples_test.py
# use -s to be able to use break pointers.
# no args or tests/* can be passed as an argument to run all tests
@ -37,6 +37,7 @@ setenv =
# works with https://hub.docker.com/r/prestosql/presto
mysql-presto: SUPERSET__SQLALCHEMY_DATABASE_URI = mysql://mysqluser:mysqluserpassword@localhost/superset?charset=utf8
mysql-presto: SUPERSET__SQLALCHEMY_EXAMPLES_URI = presto://localhost:8080/memory/default
usedevelop = true
whitelist_externals =
npm