fix: tests on database, dataset, saved_queries apis (#28397)

This commit is contained in:
Daniel Vaz Gaspar
2024-05-09 13:43:31 +01:00
committed by GitHub
parent e1a440fa36
commit 9c065951e7
5 changed files with 15 additions and 1 deletions

View File

@@ -243,6 +243,7 @@ class TestDatasetApi(SupersetTestCase):
response = json.loads(rv.data.decode("utf-8"))
assert response["count"] == 1
expected_columns = [
"catalog",
"changed_by",
"changed_by_name",
"changed_on_delta_humanized",
@@ -368,6 +369,7 @@ class TestDatasetApi(SupersetTestCase):
"cache_timeout": None,
"database": {
"backend": main_db.backend,
"allow_multi_catalog": False,
"database_name": "examples",
"id": 1,
},