Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate more tests to functional framework #491

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tests/functional/adapter/basic/test_adapter_methods.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from dbt.tests.adapter.basic.test_adapter_methods import BaseAdapterMethod


class TestDatabricksAdapterMethod(BaseAdapterMethod):
"""Currently this exercises:
* get_columns_in_relation
* get_relation
* drop_schema
* create_schema
"""

pass
13 changes: 13 additions & 0 deletions tests/functional/adapter/dbt_debug/test_dbt_debug.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from dbt.tests.adapter.dbt_debug.test_dbt_debug import BaseDebug
from dbt.tests import util


class TestDatabricksDebug(BaseDebug):
def test_ok(self, project):
util.run_dbt(["debug"])
stdout = self.capsys.readouterr().out
assert "ERROR" not in stdout
assert "host:" in stdout
assert "http_path:" in stdout
assert "schema:" in stdout
assert "catalog:" in stdout

This file was deleted.

1 change: 0 additions & 1 deletion tests/integration/current_catalog/models/expected.sql

This file was deleted.

29 changes: 0 additions & 29 deletions tests/integration/current_catalog/test_current_catalog.py

This file was deleted.

35 changes: 0 additions & 35 deletions tests/integration/debug/test_debug.py

This file was deleted.

9 changes: 0 additions & 9 deletions tests/integration/fail_fast/models/schema.yml

This file was deleted.

5 changes: 0 additions & 5 deletions tests/integration/fail_fast/models/view_model.sql

This file was deleted.

41 changes: 0 additions & 41 deletions tests/integration/fail_fast/test_fail_fast.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading