mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-01 21:23:10 +00:00
parent
d08c928801
commit
db59207ffe
@ -40,7 +40,10 @@ 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)
|
||||||
@ -67,7 +70,10 @@ 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