superset/tests
Ville Brofeldt d6c197f8ac Remove comments from queries in SQL Lab that break Explore view (#4413)
* Remove comments from queries in SQL Lab that break Explore view

This fixes an issue where comments on the last line of the source query comment out the closing parenthesis of the subquery.

* Add test case for SqlaTable with query with comment

This test ensures that comments in the query are removed when calling SqlaTable.get_from_clause().

* Add missing blank line class definition (PEP8)
2018-02-18 16:30:11 -08:00
..
__init__.py Forgot to add some files for unit tests 2015-09-26 15:56:08 -07:00
access_tests.py Disable user access request (#4405) 2018-02-14 14:49:22 -08:00
base_tests.py [flake8] Resolving Q??? errors (#3847) 2017-11-13 21:06:51 -08:00
celery_tests.py [flake8] Resolving Q??? errors (#3847) 2017-11-13 21:06:51 -08:00
core_tests.py Remove comments from queries in SQL Lab that break Explore view (#4413) 2018-02-18 16:30:11 -08:00
db_engine_specs_test.py [flake8] Resolving F5?? errors (#3846) 2017-11-12 11:09:22 -08:00
dict_import_export_tests.py Adding YAML Import-Export for Datasources to CLI (#3978) 2017-12-05 11:14:52 -08:00
druid_func_tests.py [geo] provide more flexible Spatial controls (#4032) 2017-12-15 11:47:27 -08:00
druid_tests.py [Explore view] Use POST method for charting requests (#3993) 2018-02-13 17:21:15 -08:00
email_tests.py [flake8] Resolving E3?? errors (#3814) 2017-11-10 17:52:34 -08:00
import_export_tests.py Use json for imports and exports, not pickle (#4243) 2018-01-23 20:55:27 -08:00
model_tests.py Feature: "Impersonate user" setting on Datasource (#3404) 2017-09-18 09:52:29 -07:00
security_tests.py Disable user access request (#4405) 2018-02-14 14:49:22 -08:00
sql_parse_tests.py [flake8] Resolving Q??? errors (#3847) 2017-11-13 21:06:51 -08:00
sqllab_tests.py [BUGFIX]: Check datatype of results before converting to DataFrame (#4108) 2018-01-23 20:58:06 -08:00
superset_test_config.py [flake8] Resolving E3?? errors (#3814) 2017-11-10 17:52:34 -08:00
utils_tests.py [Bugfix] Issues with merge_extra_filters (#4042) (#4091) 2017-12-20 16:22:43 -08:00
viz_tests.py [New Viz] Nightingale Rose Chart (#3676) 2018-02-03 20:18:24 -08:00