superset/tests
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
..
annotation_layers feat: add event and interval annotation support to chart data ep (#11665) 2020-12-04 14:40:31 +02:00
cachekeys feat: implement cache invalidation api (#10761) 2020-09-15 11:17:21 -07:00
charts tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
css_templates feat(css templates): security perm simplification (#11856) 2020-12-03 08:45:32 +00:00
dashboards chore: add unit tests for the current import functionality (#11786) 2020-12-03 14:48:43 -08:00
databases tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
datasets tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
db_engine_specs tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
fixtures tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
importexport feat: create base class for export commands (#11463) 2020-10-30 11:52:11 -07:00
queries feat(saved queries): security perm simplification (#11764) 2020-11-30 13:07:39 +00:00
reports fix(reports): validator_config, report state machine, working_timeout (#11890) 2020-12-09 18:19:07 +00:00
security feat(saved queries): security perm simplification (#11764) 2020-11-30 13:07:39 +00:00
utils perf: cache dashboard bootstrap data (#11234) 2020-10-13 18:43:06 -07:00
__init__.py Add licenses to translations (#6732) 2019-01-22 08:21:13 -08:00
access_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
alerts_tests.py tests: Parameterize some tests in alerts_tests.py (#11313) 2020-10-19 23:05:04 -07:00
base_api_tests.py fix(test): missing auth on tests (#10842) 2020-09-11 14:28:41 +01:00
base_tests.py feat: implement cache invalidation api (#10761) 2020-09-15 11:17:21 -07:00
cache_tests.py feat: rename TABLE_NAMES_CACHE_CONFIG to DATA_CACHE_CONFIG (#11509) 2020-11-13 22:35:10 -08:00
celery_tests.py Covert celery tests to the pytest (#10704) 2020-08-28 17:04:30 -07:00
commands_test.py fix: CommandInvalidError had invalid init (#11635) 2020-11-10 07:41:03 -08:00
config_tests.py s/assertEqual/assertEquals (#10195) 2020-06-29 16:38:06 -07:00
conftest.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
core_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
csv_upload_tests.py chore: ci Initial hive support (#10593) 2020-08-27 09:49:18 -07:00
dashboard_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
dashboard_utils.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
dataframe_test.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
datasource_tests.py feat: enable metadata sync for virtual tables (#10645) 2020-10-27 07:58:38 +02:00
dict_import_export_tests.py feat: add UUID column to ImportMixin (#11098) 2020-10-07 09:00:55 -07:00
druid_func_tests_sip38.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
druid_func_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
druid_tests.py Revert "chore: Cleanup database sessions (#10427)" (#10537) 2020-08-06 15:33:48 -07:00
email_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
event_logger_tests.py fix: Remove expensive logs table migration (#11920) 2020-12-04 07:59:28 -08:00
feature_flag_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
form_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
import_export_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
jinja_context_tests.py feat(templating): Safer Jinja template processing (#11704) 2020-11-17 11:55:47 -08:00
log_api_tests.py Add more fields to the log API (#10271) 2020-07-13 18:06:33 -07:00
logging_configurator_tests.py Add LogConfigurator, and add logging for CSV export (#8085) 2019-08-27 13:22:18 -07:00
migration_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
model_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
pandas_postprocessing_tests.py feat: add ECharts BoxPlot chart (#11199) 2020-11-12 10:01:04 +02:00
query_context_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
result_set_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
schedules_test.py fix: use nullpool even for user lookup in the celery (#10938) 2020-09-21 10:34:03 -07:00
security_tests.py tests: added fixture with energy usage instead of example (#11308) 2020-12-09 12:02:29 -08:00
sql_parse_tests.py chore: Support SET & SHOW commands as read only SQL commands (#11868) 2020-12-03 10:44:11 -08:00
sql_validator_tests.py feat: add Postgres SQL validator (#11538) 2020-12-04 19:17:23 -08:00
sqla_models_tests.py fix: do not drop calculated column on metadata sync (#11731) 2020-11-18 08:33:14 -08:00
sqllab_tests.py feat: saved queries with execution info (#11391) 2020-10-26 11:20:07 -07:00
stats_logger_tests.py chore: statds metrics for cache invalidation (#11701) 2020-11-16 06:48:26 -08:00
strategy_tests.py test: removed unicode_test example from unit tests (#11131) 2020-10-07 18:29:37 +03:00
superset_test_config_sqllab_backend_persist.py [Build] Add Github workflows (#9517) 2020-04-14 13:38:09 -07:00
superset_test_config_thumbnails.py chore: Using cache factory method (#10887) 2020-09-15 12:48:19 -07:00
superset_test_config.py feat: report/alert list CRUD view (#11802) 2020-12-01 17:57:15 -08:00
superset_test_custom_template_processors.py fix(jinja): make context attrs private on SQL templates (#10934) 2020-09-18 12:56:07 +01:00
tagging_tests.py feat: Switch from nosetest to pytest (#10177) 2020-06-29 15:36:06 -07:00
test_app.py Flask App factory PR #1 (#8418) 2019-11-20 15:47:06 +00:00
thumbnails_tests.py chore: Migrating reports to AuthWebdriverProxy (#10567) 2020-08-12 13:28:41 -07:00
utils_tests.py feat(dashboards): Filter status indicators (#10936) 2020-10-28 15:46:24 -07:00
viz_tests.py feat: add ECharts Pie chart (#10966) 2020-09-22 19:27:40 +03:00