From 8ae92b50ade7ce0c2f7124f71ab93e9b1ef4f36a Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Thu, 23 Apr 2020 22:51:33 -0700 Subject: [PATCH] [fix] Fixing regression from #9161 (#9641) Co-authored-by: John Bodley --- tests/sqla_models_tests.py | 1 + tox.ini | 31 +++++++++++++++---------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/sqla_models_tests.py b/tests/sqla_models_tests.py index af15b266b..2cabe92aa 100644 --- a/tests/sqla_models_tests.py +++ b/tests/sqla_models_tests.py @@ -17,6 +17,7 @@ # isort:skip_file from typing import Any, Dict, NamedTuple, List, Tuple, Union +import tests.test_app from superset.connectors.sqla.models import SqlaTable, TableColumn from superset.db_engine_specs.druid import DruidEngineSpec from superset.models.core import Database diff --git a/tox.ini b/tox.ini index e37f48842..cfcaea225 100644 --- a/tox.ini +++ b/tox.ini @@ -33,14 +33,6 @@ setenv = whitelist_externals = npm -[testenv:thumbnails] -setenv = - SUPERSET_CONFIG = tests.superset_test_config_thumbnails -deps = - -rrequirements.txt - -rrequirements-dev.txt - .[postgres] - [testenv:black] commands = black --check setup.py superset tests @@ -99,6 +91,14 @@ setenv = SUPERSET_CONFIG = tests.superset_test_config_sqllab_backend_persist SUPERSET_HOME = {envtmpdir} +[testenv:docs] +commands = + sphinx-build -b html docs _build/html -W +deps = + -rrequirements.txt + -rrequirements-dev.txt + -rdocs/requirements.txt + [testenv:eslint] changedir = {toxinidir}/superset-frontend commands = @@ -156,28 +156,27 @@ deps = -rrequirements.txt -rrequirements-dev.txt -[testenv:docs] -commands = - cp -r superset-frontend/images/ docs/_static/images/ - sphinx-build -b html docs _build/html -W +[testenv:thumbnails] +setenv = + SUPERSET_CONFIG = tests.superset_test_config_thumbnails deps = -rrequirements.txt -rrequirements-dev.txt - -rdocs/requirements.txt + .[postgres] [tox] envlist = - fossa black cypress-dashboard cypress-explore cypress-sqllab cypress-sqllab-backend-persist + docs eslint + fossa isort javascript + license-check mypy pylint - license-check - docs skipsdist = true