From 5e944e5730484fad5cffc65e7a69bef60025c297 Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Mon, 10 Aug 2020 09:59:34 -0700 Subject: [PATCH] fix: Resolves #10535 (#10536) Co-authored-by: John Bodley --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 1ae88c318..d2171ef37 100644 --- a/tox.ini +++ b/tox.ini @@ -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