Skip to content

Commit

Permalink
fix black test_query_settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsubota authored Sep 27, 2024
1 parent d992b9f commit 52cbf4f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/integration/adapter/query_settings/test_query_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ def models(self):

def test_nullable_column_join(self, project):
run_dbt(["run", "--select", "nullable_column_model"])
result = project.run_sql("select isNullable(test_id) as is_nullable_column from nullable_column_model", fetch="one")
result = project.run_sql(
"select isNullable(test_id) as is_nullable_column from nullable_column_model",
fetch="one",
)
assert result[0] == 1



not_nullable_column_model = """
{{
config(
Expand All @@ -56,5 +58,8 @@ def models(self):

def test_nullable_column_join(self, project):
run_dbt(["run", "--select", "not_nullable_column_model"])
result = project.run_sql("select isNullable(test_id) as is_nullable_column from not_nullable_column_model", fetch="one")
result = project.run_sql(
"select isNullable(test_id) as is_nullable_column from not_nullable_column_model",
fetch="one",
)
assert result[0] == 0

0 comments on commit 52cbf4f

Please sign in to comment.