mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-07 13:05:09 +00:00
parent
abe8d5c85e
commit
8ad8001da1
@ -28,6 +28,9 @@ from .test_cli import CliBase
|
|||||||
|
|
||||||
|
|
||||||
class CliDBTBase(TestCase):
|
class CliDBTBase(TestCase):
|
||||||
|
@pytest.mark.skip(
|
||||||
|
reason="disable while working on https://github.com/open-metadata/OpenMetadata/issues/11895"
|
||||||
|
)
|
||||||
class TestSuite(TestCase, CliBase):
|
class TestSuite(TestCase, CliBase):
|
||||||
dbt_file_path: str
|
dbt_file_path: str
|
||||||
|
|
||||||
@ -40,10 +43,7 @@ class CliDBTBase(TestCase):
|
|||||||
self.assert_for_vanilla_ingestion(source_status, sink_status)
|
self.assert_for_vanilla_ingestion(source_status, sink_status)
|
||||||
|
|
||||||
# 2. deploy dbt ingestion
|
# 2. deploy dbt ingestion
|
||||||
# @pytest.mark.order(2)
|
@pytest.mark.order(2)
|
||||||
@pytest.mark.skip(
|
|
||||||
reason="disabling until we fix the test cases. enable once https://github.com/open-metadata/OpenMetadata/issues/11895 is done"
|
|
||||||
)
|
|
||||||
def test_dbt_ingestion(self) -> None:
|
def test_dbt_ingestion(self) -> None:
|
||||||
# run the dbt ingestion
|
# run the dbt ingestion
|
||||||
result = self.run_command(test_file_path=self.dbt_file_path)
|
result = self.run_command(test_file_path=self.dbt_file_path)
|
||||||
@ -70,10 +70,7 @@ class CliDBTBase(TestCase):
|
|||||||
self.assertTrue(len(table.tags) > 0)
|
self.assertTrue(len(table.tags) > 0)
|
||||||
|
|
||||||
# 4. run tests on dbt test cases and test results
|
# 4. run tests on dbt test cases and test results
|
||||||
# @pytest.mark.order(4)
|
@pytest.mark.order(4)
|
||||||
@pytest.mark.skip(
|
|
||||||
reason="disabling until we fix the test cases. enable once https://github.com/open-metadata/OpenMetadata/issues/11895 is done"
|
|
||||||
)
|
|
||||||
def test_dbt_test_cases(self) -> None:
|
def test_dbt_test_cases(self) -> None:
|
||||||
test_suite: TestSuite = self.openmetadata.get_by_name(
|
test_suite: TestSuite = self.openmetadata.get_by_name(
|
||||||
entity=TestSuite, fqn="DBT TEST SUITE"
|
entity=TestSuite, fqn="DBT TEST SUITE"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user