Skip to content

Commit

Permalink
convert 057_run_query_tests (dbt-labs#6607)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk authored Jan 13, 2023
1 parent c40b488 commit 20c95a4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 25 deletions.
25 changes: 0 additions & 25 deletions test/integration/057_run_query_tests/test_pg_types.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import pytest

from dbt.tests.util import run_dbt

macros_sql = """
{% macro test_array_results() %}
{% set sql %}
Expand All @@ -14,3 +18,16 @@
{% endif %}
{% endmacro %}
"""


class TestTypes:
@pytest.fixture(scope="class")
def macros(self):
return {
"macros.sql": macros_sql,
}

def test_nested_types(self, project):
result = run_dbt(['run-operation', 'test_array_results'])
assert result.success

0 comments on commit 20c95a4

Please sign in to comment.