Skip to content

Commit f07f239

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1d93b9a commit f07f239

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

tests/functional/adapter/dbt/test_basic.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,14 @@ def test_existing_view_materialization(self, project, models):
2424

2525
# Write the initial model without the value column
2626
with open(model_path, "w") as f:
27-
f.write(
28-
"""
27+
f.write("""
2928
{{ config(materialized='view') }}
3029
select
3130
1 as id
3231
{% if var('include_value_column', false) %}
3332
, 2 as value
3433
{% endif %}
35-
"""
36-
)
34+
""")
3735

3836
# First run to create the view without the extra column
3937
results = run_dbt(["run", "-m", "view_model_exists"])

tests/functional/adapter/mssql/test_materialize_change.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@ def test_public_select_grant_survives_swap(self, project):
9191
self.create_object(
9292
project, f"SELECT * INTO {project.test_schema}.mat_object FROM ({model_sql}) t"
9393
)
94-
project.run_sql(
95-
f"""grant select, insert, update, delete
96-
on object::{project.test_schema}.mat_object to public"""
97-
)
94+
project.run_sql(f"""grant select, insert, update, delete
95+
on object::{project.test_schema}.mat_object to public""")
9896

9997
run_dbt(["run"])
10098

0 commit comments

Comments
 (0)