From 00abf9d11cbb98b3c5836be539dd6fab38e14cf2 Mon Sep 17 00:00:00 2001 From: sachinthakur96 Date: Fri, 17 Nov 2023 18:05:04 +0530 Subject: [PATCH] Adding --- .../adapter/ephemeral/test_ephemeral.py | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tests/functional/adapter/ephemeral/test_ephemeral.py b/tests/functional/adapter/ephemeral/test_ephemeral.py index 1fedeee..c283576 100644 --- a/tests/functional/adapter/ephemeral/test_ephemeral.py +++ b/tests/functional/adapter/ephemeral/test_ephemeral.py @@ -17,23 +17,23 @@ import pytest -# from dbt.tests.adapter.ephemeral.test_ephemeral import BaseEphemeralMulti -# from dbt.tests.util import run_dbt, check_relations_equal - -# class TestEphemeralMultiVertica(BaseEphemeralMulti): - -# def test_ephemeral_multi_snowflake(self, project): -# run_dbt(["seed"]) -# results = run_dbt(["run"]) -# assert len(results) == 3 -# # check_relations_equal(project.adapter, ["SEED", "DEPENDENT", "DOUBLE_DEPENDENT", "SUPER_DEPENDENT"]) -# # check_relations_equal(project.adapter, ["seed", "dependent", "double_dependent", "super_dependent"]) -# # check_relations_equal(project.adapter, ["seed", "dependent", "double_dependent", "super_dependent"]) +from dbt.tests.adapter.ephemeral.test_ephemeral import BaseEphemeralMulti +from dbt.tests.util import run_dbt, check_relations_equal + +class TestEphemeralMultiVertica(BaseEphemeralMulti): + + def test_ephemeral_multi_snowflake(self, project): + run_dbt(["seed"]) + results = run_dbt(["run"]) + assert len(results) == 3 + # check_relations_equal(project.adapter, ["SEED", "DEPENDENT", "DOUBLE_DEPENDENT", "SUPER_DEPENDENT"]) + # check_relations_equal(project.adapter, ["seed", "dependent", "double_dependent", "super_dependent"]) + # check_relations_equal(project.adapter, ["seed", "dependent", "double_dependent", "super_dependent"]) -# check_relations_equal(project.adapter, ["seed", "dependent"]) -# check_relations_equal(project.adapter, ["seed", "double_dependent"]) -# check_relations_equal(project.adapter, ["seed", "super_dependent"]) + check_relations_equal(project.adapter, ["seed", "dependent"]) + check_relations_equal(project.adapter, ["seed", "double_dependent"]) + check_relations_equal(project.adapter, ["seed", "super_dependent"])