[TECH DEBT] Add workaround for skipped legacy dashboard related tests
Is there an existing issue for this?
- [x] I have searched the existing issues
Problem statement
A quick skip fix is added to the tests that contain creation of legacy dashboards after its deprecation from the product. Some of the tests could include a workaround to skip the dashboard creation.
Tests that can be modified: test_legacy_query_dfsa_ownership test_query_linter_lints_queries_and_stores_dfsas_and_tables
#4009
Proposed Solution
Modify the skipped tests by adding a workaround for Legacy Dashboard creation.
Additional Context
No response
Retaining removed code here from tests.integration.conftest.MockRuntimeContext.make_linting_resources as pylint complains about commented code.
query_1 = self.make_query(sql_query="SELECT * from parquet.dbfs://mnt/foo2/bar2")
self.make_dashboard(query=query_1)