This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ae92b5  [fix] Fixing regression from #9161 (#9641)
8ae92b5 is described below

commit 8ae92b50ade7ce0c2f7124f71ab93e9b1ef4f36a
Author: John Bodley <[email protected]>
AuthorDate: Thu Apr 23 22:51:33 2020 -0700

    [fix] Fixing regression from #9161 (#9641)
    
    Co-authored-by: John Bodley <[email protected]>
---
 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 af15b26..2cabe92 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 e37f488..cfcaea2 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

Reply via email to