superset/tests/db_engine_specs
Kasia Kucharczyk 4da47f1635
tests: added fixture with energy usage instead of example (#11308)
* Added energy usage fixture. Updated dashboard utils and unicode fixture with new method parameters.

* Add energy fixture to tests/access_tests.py

* Add energy fixture to tests/core_tests.py

* Add energy fixture to tests/dashboard_tests.py

* Add energy fixture to tests/datasets/api_tests.py

* Add energy fixture to tests/db_engine_specs/base_engine_spec_tests.py

* Add energy fixture to tests/import_export_tests.py

* Add energy fixture to tests/model_tests.py

* Add energy fixture to tests/query_context_tests.py

* Add energy fixture to tests/security_tests.py

* Add energy fixture to tests/charts/api_tests.py

* Changed formatting of slices' parameters in energy usage fixture

* Removed loading energy udage data from test conf file

* Add energy fixture to tests/databases/api_tests.py

* Fixes after review: removed isort:skip, load_charts->load_energy_charts, removed unused import.

* Added energy fixture to tests/charts/commands_tests.py and retrieving proper Slice by name

* Fixed charts/api_tests.py to use energy_usage from fixtures

* Fixed datasets/commands_tests.py to retrieve dataset by name and use energy_usage fixture

* Changed energy usage data to generated data and fixed chart tests which was checking energy usage data
2020-12-09 12:02:29 -08:00
..
__init__.py Enable running of tests in tests/db_engine_specs (#8902) 2019-12-31 14:45:33 +02:00
athena_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
base_engine_spec_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
base_tests.py feat: support nulls in the csv uploads (#10208) 2020-07-06 13:26:43 -07:00
bigquery_tests.py fix: error around latest partition in BigQuery (#11274) 2020-10-20 21:34:46 -07:00
clickhouse_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
drill_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
druid_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
elasticsearch_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
hive_tests.py chore: Support SET & SHOW commands as read only SQL commands (#11868) 2020-12-03 10:44:11 -08:00
impala_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
kylin_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
mssql_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
mysql_tests.py fix(db_engine_specs): mysql longtext type should not be numeric (#10661) 2020-08-24 21:24:43 +03:00
oracle_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
pinot_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
postgres_tests.py chore(engine): adapt postgres backend connection URI (#11233) 2020-10-14 18:57:41 +03:00
presto_tests.py chore: Support SET & SHOW commands as read only SQL commands (#11868) 2020-12-03 10:44:11 -08:00
snowflake_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
sqlite_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00