From 4fdb99bb266a4078747e9a52cd82eda5b5effee5 Mon Sep 17 00:00:00 2001 From: Milan Bariya Date: Mon, 11 Apr 2022 17:57:05 +0530 Subject: [PATCH] ISSUE-3266: Add unit test for vertica --- ingestion/tests/unit/source/test_clickhouse.py | 4 +--- ingestion/tests/unit/source/test_vertica.py | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ingestion/tests/unit/source/test_clickhouse.py b/ingestion/tests/unit/source/test_clickhouse.py index eb731758d3c..9e85144573b 100644 --- a/ingestion/tests/unit/source/test_clickhouse.py +++ b/ingestion/tests/unit/source/test_clickhouse.py @@ -51,9 +51,7 @@ CONFIG = """ "enableDataProfiler": false, "schemaFilterPattern":{ "excludes": ["system.*","information_schema.*","INFORMATION_SCHEMA.*"] - }, - "dbtManifestFilePath": "./examples/sample_data/dbt/manifest_1.0.json", - "dbtCatalogFilePath": "./examples/sample_data/dbt/catalog_1.0.json" + } } } }, diff --git a/ingestion/tests/unit/source/test_vertica.py b/ingestion/tests/unit/source/test_vertica.py index 8635faf963f..95e2cffce76 100644 --- a/ingestion/tests/unit/source/test_vertica.py +++ b/ingestion/tests/unit/source/test_vertica.py @@ -51,9 +51,7 @@ CONFIG = """ "enableDataProfiler": false, "schemaFilterPattern":{ "excludes": ["system.*","information_schema.*","INFORMATION_SCHEMA.*"] - }, - "dbtManifestFilePath": "./examples/sample_data/dbt/manifest_1.0.json", - "dbtCatalogFilePath": "./examples/sample_data/dbt/catalog_1.0.json" + } } } }, @@ -195,7 +193,7 @@ class VerticaIngestionTest(TestCase): @patch("sqlalchemy.engine.reflection.Inspector.get_pk_constraint") @patch("sqlalchemy.engine.reflection.Inspector.get_columns") @patch("sqlalchemy.engine.base.Engine.connect") - def test_mysql_ingestion( + def test_vertica_ingestion( self, mock_connect, get_columns,