mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
refactor(tests): decouple unittests from integration tests (#15473)
* refactor move all tests to be under integration_tests package * refactor decouple unittests from integration tests - commands * add unit_tests package * fix celery_tests.py * fix wrong FIXTURES_DIR value
This commit is contained in:
49
tests/integration_tests/fixtures/deck_path_form_data.json
Normal file
49
tests/integration_tests/fixtures/deck_path_form_data.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"color_picker": {
|
||||
"a": 1,
|
||||
"b": 135,
|
||||
"g": 122,
|
||||
"r": 0
|
||||
},
|
||||
"datasource": "12__table",
|
||||
"filters": [],
|
||||
"having": "",
|
||||
"js_columns": [
|
||||
"color"
|
||||
],
|
||||
"js_datapoint_mutator": "d => {\n return {\n ...d,\n color: colors.hexToRGB(d.extraProps.color),\n }\n}",
|
||||
"js_onclick_href": "",
|
||||
"js_tooltip": "",
|
||||
"line_column": "path_json",
|
||||
"line_type": "json",
|
||||
"line_width": 150,
|
||||
"mapbox_style": "mapbox://styles/mapbox/light-v9",
|
||||
"reverse_long_lat": false,
|
||||
"row_limit": 5000,
|
||||
"since": "7 days ago",
|
||||
"slice_id": 1013,
|
||||
"time_grain_sqla": null,
|
||||
"until": "now",
|
||||
"viewport": {
|
||||
"altitude": 1.5,
|
||||
"bearing": 0,
|
||||
"height": 1094,
|
||||
"latitude": 37.73671752604488,
|
||||
"longitude": -122.18885402582598,
|
||||
"maxLatitude": 85.05113,
|
||||
"maxPitch": 60,
|
||||
"maxZoom": 20,
|
||||
"minLatitude": -85.05113,
|
||||
"minPitch": 0,
|
||||
"minZoom": 0,
|
||||
"pitch": 0,
|
||||
"width": 669,
|
||||
"zoom": 9.51847667620428
|
||||
},
|
||||
"viz_type": "deck_path",
|
||||
"where": "",
|
||||
"granularity_sqla": null,
|
||||
"autozoom": true,
|
||||
"url_params": {},
|
||||
"size": 100
|
||||
}
|
||||
Reference in New Issue
Block a user