superset/tests
Bogdan 4e1fa95035
Make schema name for the CTA queries and limit configurable (#8867)
* Make schema name configurable

Fixing unit tests

Fix table quoting

Mypy

Split tests out for sqlite

Grant more permissions for mysql user

Postgres doesn't support if not exists

More logging

Commit for table creation

Priviliges for postgres

Update tests

Resolve comments

Lint

No limits for the CTA queries if configures

* CTA -> CTAS and dict -> {}

* Move database creation to the .travis file

* Black

* Move tweaks to travis db setup

* Remove left over version

* Address comments

* Quote table names in the CTAS queries

* Pass tmp_schema_name for the query execution

* Rebase alembic migration

* Switch to python3 mypy

* SQLLAB_CTA_SCHEMA_NAME_FUNC -> SQLLAB_CTAS_SCHEMA_NAME_FUNC

* Black
2020-03-03 19:52:20 +02:00
..
db_engine_specs Enable running of tests in tests/db_engine_specs (#8902) 2019-12-31 14:45:33 +02:00
fixtures Re-enable pylint for common, connector, and test files (#8774) 2019-12-09 22:32:54 -08:00
security Prevent database connections to sqlite (#9218) 2020-03-02 13:13:11 -08:00
__init__.py Add licenses to translations (#6732) 2019-01-22 08:21:13 -08:00
access_tests.py factor out datasource_access_request model (#8809) 2019-12-17 16:17:49 -08:00
base_api_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
base_tests.py Make schema name for the CTA queries and limit configurable (#8867) 2020-03-03 19:52:20 +02:00
cache_tests.py [ci] Deprecate flake8 (#8409) 2019-10-18 14:44:27 -07:00
celery_tests.py Make schema name for the CTA queries and limit configurable (#8867) 2020-03-03 19:52:20 +02:00
chart_api_tests.py [mypy] Disallowing implicit optional (#9150) 2020-02-16 22:34:15 -08:00
core_tests.py Prevent database connections to sqlite (#9218) 2020-03-02 13:13:11 -08:00
dashboard_api_tests.py [mypy] Disallowing implicit optional (#9150) 2020-02-16 22:34:15 -08:00
dashboard_tests.py refactor copy filter_scopes and add tests (#9224) 2020-03-02 12:55:30 -08:00
database_api_tests.py [database] new, select star API migration (#9054) 2020-02-14 14:30:49 +00:00
dataframe_test.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
datasource_tests.py guard against duplicate columns in datasource save (#8712) 2019-12-04 11:05:06 -08:00
dict_import_export_tests.py [db migration] change datasources-clusters foreign key to cluster_id (#8576) 2020-01-13 11:02:36 -08:00
druid_func_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
druid_tests.py [fix] Fix table viz column order (#9122) 2020-02-16 22:51:35 -08:00
email_tests.py Moving away from using the root logger everywhere (#9099) 2020-02-07 23:38:48 -08:00
event_logger_tests.py Event logger config takes instance instead of class (#7997) 2019-08-08 13:47:18 -07:00
feature_flag_tests.py Flask App factory PR #1 (#8418) 2019-11-20 15:47:06 +00:00
form_tests.py [format] Using Black (#7769) 2019-06-25 13:34:48 -07:00
import_export_tests.py refactor copy filter_scopes and add tests (#9224) 2020-03-02 12:55:30 -08:00
load_examples_test.py Flask App factory PR #1 (#8418) 2019-11-20 15:47:06 +00:00
log_api_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
logging_configurator_tests.py Add LogConfigurator, and add logging for CSV export (#8085) 2019-08-27 13:22:18 -07:00
macro_tests.py [ci] Deprecate flake8 (#8409) 2019-10-18 14:44:27 -07:00
migration_tests.py [tests] Fix, removing deprecated function for future Python release compatibility. (#8353) 2019-10-21 15:49:12 +01:00
model_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
result_set_tests.py Catch TypeError on PyArrow array instantiation (#9139) 2020-02-17 08:34:00 -08:00
schedules_test.py Refactor Dashboard and Slice models (#8820) 2019-12-18 11:40:45 -08:00
security_tests.py [SIP-29] Add support for row-level security (#8699) 2020-02-22 11:21:31 +02:00
sql_parse_tests.py Make schema name for the CTA queries and limit configurable (#8867) 2020-03-03 19:52:20 +02:00
sql_validator_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
sqla_models_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
sqllab_tests.py Make schema name for the CTA queries and limit configurable (#8867) 2020-03-03 19:52:20 +02:00
stats_logger_tests.py [format] Using Black (#7769) 2019-06-25 13:34:48 -07:00
strategy_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
superset_test_config.py Make schema name for the CTA queries and limit configurable (#8867) 2020-03-03 19:52:20 +02:00
superset_test_config_sqllab_backend_persist.py Make schema name for the CTA queries and limit configurable (#8867) 2020-03-03 19:52:20 +02:00
tagging_tests.py Wrap tagging endpoints in a feature flag (disabled by default) (#9078) 2020-02-05 11:10:13 -08:00
test_app.py Flask App factory PR #1 (#8418) 2019-11-20 15:47:06 +00:00
utils.py [format] Using Black (#7769) 2019-06-25 13:34:48 -07:00
utils_tests.py [tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
viz_tests.py [Bug Fix] Returning timeseries_limit_metric in table viz get_data (#9196) 2020-02-25 21:34:36 -08:00