mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
add unicode data to tests (#432)
* add unicode data to tests * make tests pass on 2.7 * clean up data loading - remove duplicate keys in slice_data - reduce line length * change manager option flag to -t, --load-test-data * test --> load_test_data
This commit is contained in:
committed by
Maxime Beauchemin
parent
a3f549bb9e
commit
6941f1de64
@@ -104,7 +104,7 @@ class CoreTests(CaravelTestCase):
|
||||
pass
|
||||
|
||||
def load_examples(self):
|
||||
cli.load_examples(sample=True)
|
||||
cli.load_examples(load_test_data=True)
|
||||
|
||||
def test_save_slice(self):
|
||||
self.login_admin()
|
||||
@@ -137,6 +137,7 @@ class CoreTests(CaravelTestCase):
|
||||
urls += [
|
||||
(slc.slice_name, slc.slice_url),
|
||||
(slc.slice_name, slc.viz.json_endpoint),
|
||||
(slc.slice_name, slc.viz.csv_endpoint),
|
||||
]
|
||||
for name, url in urls:
|
||||
print("Slice: " + name)
|
||||
|
||||
Reference in New Issue
Block a user