You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yo...@apache.org on 2022/01/28 07:04:03 UTC
[superset] 04/10: fix test
This is an automated email from the ASF dual-hosted git repository.
yongjiezhao pushed a commit to branch pull/17881
in repository https://gitbox.apache.org/repos/asf/superset.git
commit d558865945d2833f7f1121be1347ce89d850dc3a
Author: stephenLYZ <75...@qq.com>
AuthorDate: Sun Jan 2 11:19:37 2022 +0800
fix test
---
tests/integration_tests/druid_func_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/integration_tests/druid_func_tests.py b/tests/integration_tests/druid_func_tests.py
index 6bf4992..8f8d076 100644
--- a/tests/integration_tests/druid_func_tests.py
+++ b/tests/integration_tests/druid_func_tests.py
@@ -365,7 +365,7 @@ class TestDruidFunc(SupersetTestCase):
SupersetTestCase.is_module_installed("pydruid"), "pydruid not installed"
)
def test_get_filters_keeps_values_if_not_between_in_quotes(self):
- filtr = {"col": "A", "op": "in", "val": ['"a"b']}
+ filtr = {"col": "A", "op": "in", "val": ["'a'b"]}
col = DruidColumn(column_name="A")
column_dict = {"A": col}
res = DruidDatasource.get_filters([filtr], [], column_dict)