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

[CT-1271] Query Comment test conversion #333

Merged
merged 10 commits into from
Oct 12, 2022
4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# install latest changes in dbt-core
# TODO: how to automate switching from develop to version branches?
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter
git+https://github.com/dbt-labs/dbt-core.git@mcknight/CT-1271#egg=dbt-core&subdirectory=core
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove these after changes in core get merged

git+https://github.com/dbt-labs/dbt-core.git@mcknight/CT-1271#egg=dbt-tests-adapter&subdirectory=tests/adapter

black==22.8.0
bumpversion
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import pytest

from dbt.tests.adapter.query_comment.test_query_comment import (
BaseQueryComments,
BaseMacroQueryComments,
BaseMacroArgsQueryComments,
BaseMacroInvalidQueryComments,
BaseNullQueryComments,
BaseEmptyQueryComments,
)


class TestQueryCommentsBigQuery(BaseQueryComments):
pass

class TestMacroQueryCommentsBigQuery(BaseMacroQueryComments):
pass

class TestMacroArgsQueryCommentsBigQuery(BaseMacroArgsQueryComments):
pass

class TestMacroInvalidQueryCommentsBigQuery(BaseMacroInvalidQueryComments):
pass

class TestNullQueryCommentsBigQuery(BaseNullQueryComments):
pass

class TestEmptyQueryCommentsBigQuery(BaseEmptyQueryComments):
pass
25 changes: 0 additions & 25 deletions tests/integration/query_comments_test/macros/macro.sql

This file was deleted.

24 changes: 0 additions & 24 deletions tests/integration/query_comments_test/models/x.sql

This file was deleted.

169 changes: 0 additions & 169 deletions tests/integration/query_comments_test/test_query_comments.py

This file was deleted.