refactor: queryObject - add QueryObjectFactory (#17466)

This commit is contained in:
ofekisr
2021-11-18 17:38:17 +02:00
committed by GitHub
parent b914e2d497
commit 377db1bd71
3 changed files with 88 additions and 52 deletions

View File

@@ -50,6 +50,7 @@ def get_sql_text(payload: Dict[str, Any]) -> str:
class TestQueryContext(SupersetTestCase):
@pytest.mark.usefixtures("load_birth_names_dashboard_with_slices")
def test_schema_deserialization(self):
"""
Ensure that the deserialized QueryContext contains all required fields.