mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Bump python libs, address insecure releases (#7550)
* Bump python libs, address insecure releases Using https://requires.io/github/mistercrunch/superset/requirements/?branch=apache_release_improv to identify insecure, old releases we're using and bumping. * redis <3.0 * fix new flakes
This commit is contained in:
committed by
GitHub
parent
2a2f395e94
commit
fd5befee38
@@ -108,7 +108,7 @@ class DbEngineSpecsTestCase(SupersetTestCase):
|
||||
'{...} errorMessage="Error while compiling statement: FAILED: '
|
||||
'SemanticException [Error 10001]: Line 4'
|
||||
':5 Table not found \'fact_ridesfdslakj\'", statusCode=3, '
|
||||
'sqlState=\'42S02\', errorCode=10001)){...}')
|
||||
"sqlState='42S02', errorCode=10001)){...}")
|
||||
self.assertEquals((
|
||||
'Error while compiling statement: FAILED: '
|
||||
'SemanticException [Error 10001]: Line 4:5 '
|
||||
|
||||
@@ -258,7 +258,7 @@ class TableVizTestCase(SupersetTestCase):
|
||||
{
|
||||
'expressionType': 'SQL',
|
||||
'clause': 'WHERE',
|
||||
'sqlExpression': 'value3 in (\'North America\')',
|
||||
'sqlExpression': "value3 in ('North America')",
|
||||
},
|
||||
],
|
||||
}
|
||||
@@ -273,7 +273,7 @@ class TableVizTestCase(SupersetTestCase):
|
||||
[{'op': '<', 'val': '10', 'col': 'SUM(value1)'}],
|
||||
query_obj['extras']['having_druid'],
|
||||
)
|
||||
self.assertEqual('(value3 in (\'North America\'))', query_obj['extras']['where'])
|
||||
self.assertEqual("(value3 in ('North America'))", query_obj['extras']['where'])
|
||||
self.assertEqual('(SUM(value1) > 5)', query_obj['extras']['having'])
|
||||
|
||||
def test_adhoc_filters_overwrite_legacy_filters(self):
|
||||
@@ -295,7 +295,7 @@ class TableVizTestCase(SupersetTestCase):
|
||||
{
|
||||
'expressionType': 'SQL',
|
||||
'clause': 'WHERE',
|
||||
'sqlExpression': 'value3 in (\'North America\')',
|
||||
'sqlExpression': "value3 in ('North America')",
|
||||
},
|
||||
],
|
||||
'having': 'SUM(value1) > 5',
|
||||
@@ -311,7 +311,7 @@ class TableVizTestCase(SupersetTestCase):
|
||||
[],
|
||||
query_obj['extras']['having_druid'],
|
||||
)
|
||||
self.assertEqual('(value3 in (\'North America\'))', query_obj['extras']['where'])
|
||||
self.assertEqual("(value3 in ('North America'))", query_obj['extras']['where'])
|
||||
self.assertEqual('', query_obj['extras']['having'])
|
||||
|
||||
@patch('superset.viz.BaseViz.query_obj')
|
||||
|
||||
Reference in New Issue
Block a user