superset/tests
Maxime Beauchemin 3f48c005df
[bugfix] temporal columns with expression fail (#4890)
* [bugfix] temporal columns with expression fail

error msg: "local variable 'literal' referenced before assignment"

Error occurs [only] when using temporal column defined as a SQL
expression.

Also noticed that examples were using `granularity` instead of using
`granularity_sqla` as they should. Fixed that here.

* Add tests
2018-04-26 21:13:52 -07:00
..
fixtures [DeckGL] Added fixtures and Deck test (#4798) 2018-04-12 17:20:39 -07:00
__init__.py Forgot to add some files for unit tests 2015-09-26 15:56:08 -07:00
access_tests.py [security] Refactor security code into SupersetSecurityManager (#4565) 2018-03-27 16:46:02 -07:00
base_tests.py [tests] cleaning up test configuration (#4806) 2018-04-11 14:09:20 -07:00
cache_tests.py Cache the query string (#4633) 2018-03-21 13:13:36 -07:00
celery_tests.py [security] Refactor security code into SupersetSecurityManager (#4565) 2018-03-27 16:46:02 -07:00
core_tests.py [dashboard] open in edit mode when adding a chart (#4772) 2018-04-07 12:55:05 -07:00
dashboard_tests.py [dashboard] open in edit mode when adding a chart (#4772) 2018-04-07 12:55:05 -07:00
db_engine_specs_test.py [flake8] Adding flake8-coding (#4477) 2018-02-25 15:06:11 -08:00
dict_import_export_tests.py [flake8] Adding flake8-coding (#4477) 2018-02-25 15:06:11 -08:00
druid_func_tests.py [explore] proper filtering of NULLs and '' (#4651) 2018-04-17 22:26:21 -07:00
druid_tests.py [explore] proper filtering of NULLs and '' (#4651) 2018-04-17 22:26:21 -07:00
email_tests.py [flake8] Adding flake8-coding (#4477) 2018-02-25 15:06:11 -08:00
form_tests.py forms: make csv import parse dates accepts a list of columns (#4639) 2018-03-23 14:16:02 -07:00
import_export_tests.py [flake8] Adding flake8-coding (#4477) 2018-02-25 15:06:11 -08:00
model_tests.py [bugfix] temporal columns with expression fail (#4890) 2018-04-26 21:13:52 -07:00
security_tests.py [logs] Dropping dt column (#4587) 2018-04-10 18:34:32 -07:00
sql_parse_tests.py [flake8] Resolving Q??? errors (#3847) 2017-11-13 21:06:51 -08:00
sqllab_tests.py [sql lab] preserve schema through visualize flow (#4742) 2018-04-04 13:38:37 -07:00
superset_test_config.py Cache the query string (#4633) 2018-03-21 13:13:36 -07:00
utils.py [DeckGL] Added fixtures and Deck test (#4798) 2018-04-12 17:20:39 -07:00
utils_tests.py Added new exception class and start of better exception/error handling (#4514) 2018-03-11 22:07:51 -07:00
viz_tests.py [travis] Fixing environments (#4828) 2018-04-15 16:21:33 -07:00