chore(dao/command): Add transaction decorator to try to enforce "unit of work" (#24969)

This commit is contained in:
John Bodley
2024-06-28 12:33:56 -07:00
committed by GitHub
parent a3f0d00714
commit 8fb8199a55
151 changed files with 681 additions and 916 deletions

View File

@@ -88,7 +88,6 @@ class TestDatasource(SupersetTestCase):
)
def test_always_filter_main_dttm(self):
self.login(ADMIN_USERNAME)
database = get_example_database()
sql = f"SELECT DATE() as default_dttm, DATE() as additional_dttm, 1 as metric;" # noqa: F541
@@ -363,7 +362,6 @@ class TestDatasource(SupersetTestCase):
elif k == "owners":
self.assertEqual([o["id"] for o in resp[k]], datasource_post["owners"])
else:
print(k)
self.assertEqual(resp[k], datasource_post[k])
def test_save_default_endpoint_validation_success(self):