diff --git a/pyproject.toml b/pyproject.toml index f64a155..2eb2b2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,4 +36,4 @@ profile = "black" [tool.pytest.ini_options] minversion = "7.0" addopts = "-p no:warnings" -testpaths = ["tests"] \ No newline at end of file +testpaths = ["tests"] diff --git a/tests/dummy_gummy/dbt_project.yml b/tests/dummy_gummy/dbt_project.yml index 2c655de..b38cad5 100644 --- a/tests/dummy_gummy/dbt_project.yml +++ b/tests/dummy_gummy/dbt_project.yml @@ -22,4 +22,3 @@ seeds: models: dummy_gummy: +materialized: view - diff --git a/tests/dummy_gummy/models/base/base_customers.sql b/tests/dummy_gummy/models/base/base_customers.sql index 81b54b3..c70328f 100644 --- a/tests/dummy_gummy/models/base/base_customers.sql +++ b/tests/dummy_gummy/models/base/base_customers.sql @@ -4,7 +4,7 @@ WITH customers AS ( ), final AS ( - SELECT + SELECT id as customer_id, name, created_at @@ -12,4 +12,4 @@ final AS ( ) SELECT * -FROM final \ No newline at end of file +FROM final diff --git a/tests/dummy_gummy/models/base/base_orders.sql b/tests/dummy_gummy/models/base/base_orders.sql index e4c76ab..775542f 100644 --- a/tests/dummy_gummy/models/base/base_orders.sql +++ b/tests/dummy_gummy/models/base/base_orders.sql @@ -12,5 +12,5 @@ final AS ( FROM orders ) -SELECT * -FROM final \ No newline at end of file +SELECT * +FROM final diff --git a/tests/dummy_gummy/models/base/base_potatoes.sql b/tests/dummy_gummy/models/base/base_potatoes.sql index 7145ea7..1aa6688 100644 --- a/tests/dummy_gummy/models/base/base_potatoes.sql +++ b/tests/dummy_gummy/models/base/base_potatoes.sql @@ -3,7 +3,7 @@ WITH potatoes AS ( FROM {{ ref('raw_potatoes')}} ), final AS ( - SELECT + SELECT id AS potato_id, name, color, @@ -15,4 +15,4 @@ final AS ( ) SELECT * -FROM final \ No newline at end of file +FROM final diff --git a/tests/dummy_gummy/models/orders.sql b/tests/dummy_gummy/models/orders.sql index a38d9e5..0eaa35b 100644 --- a/tests/dummy_gummy/models/orders.sql +++ b/tests/dummy_gummy/models/orders.sql @@ -29,7 +29,7 @@ potato_sales AS ( ), final AS ( - SELECT + SELECT customer_name, potato_name, orders, @@ -40,4 +40,4 @@ final AS ( ) SELECT * -FROM final \ No newline at end of file +FROM final diff --git a/tests/dummy_gummy/models/sources.yml b/tests/dummy_gummy/models/sources.yml index 3a530b4..b333994 100644 --- a/tests/dummy_gummy/models/sources.yml +++ b/tests/dummy_gummy/models/sources.yml @@ -24,4 +24,4 @@ sources: - name: potato_id data_type: numeric - name: quantity - data_type: numeric \ No newline at end of file + data_type: numeric