Skip to content

Commit

Permalink
remove adapters-irrelevant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 30, 2024
1 parent ab04416 commit fb5f047
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
10 changes: 0 additions & 10 deletions tests/functional/minimal_cli/test_minimal_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ def test_deps(self, runner, project):
assert "1.0.0" in result.output


class TestLS(BaseConfigProject):
def test_ls(self, runner, project):
runner.invoke(cli, ["deps"])
ls_result = runner.invoke(cli, ["ls"])
assert "1 seed" in ls_result.output
assert "1 model" in ls_result.output
assert "5 data tests" in ls_result.output
assert "1 snapshot" in ls_result.output


class TestBuild(BaseConfigProject):
def test_build(self, runner, project):
runner.invoke(cli, ["deps"])
Expand Down
18 changes: 0 additions & 18 deletions tests/functional/schema_tests/test_schema_v2_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,24 +892,6 @@ def test_collision_test_names_get_hash(
assert test_results[1].node.unique_id in expected_unique_ids


class TestGenericTestsCollide:
@pytest.fixture(scope="class")
def models(self):
return {
"schema.yml": dupe_generic_tests_collide__schema_yml,
"model_a.sql": dupe_generic_tests_collide__model_a,
}

def test_generic_test_collision(
self,
project,
):
"""These tests collide, since only the configs differ"""
with pytest.raises(DuplicateResourceNameError) as exc:
run_dbt()
assert "dbt found two tests with the name" in str(exc.value)


class TestGenericTestsConfigCustomMacros:
@pytest.fixture(scope="class")
def models(self):
Expand Down

0 comments on commit fb5f047

Please sign in to comment.