Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ran black
  • Loading branch information
ramonvermeulen committed Jul 14, 2023
commit 290236871df4d484be139dc5416409d8f443e1e4
19 changes: 6 additions & 13 deletions tests/adapter/dbt/tests/adapter/simple_seed/test_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,7 @@ class SeedUniqueDelimiterTestBase(SeedConfigBase):
@pytest.fixture(scope="class")
def project_config_update(self):
return {
"seeds": {
"quote_columns": False,
"delimiter": "|"
},
"seeds": {"quote_columns": False, "delimiter": "|"},
}

@pytest.fixture(scope="class", autouse=True)
Expand Down Expand Up @@ -208,7 +205,9 @@ def _check_relation_end_state(self, run_result, project, exists: bool):
if exists:
check_table_does_exist(project.adapter, "models__downstream_from_seed_pipe_separated")
else:
check_table_does_not_exist(project.adapter, "models__downstream_from_seed_pipe_separated")
check_table_does_not_exist(
project.adapter, "models__downstream_from_seed_pipe_separated"
)


class TestSeedWithUniqueDelimiter(SeedUniqueDelimiterTestBase):
Expand All @@ -222,10 +221,7 @@ class TestSeedWithWrongDelimiter(SeedUniqueDelimiterTestBase):
@pytest.fixture(scope="class")
def project_config_update(self):
return {
"seeds": {
"quote_columns": False,
"delimiter": ";"
},
"seeds": {"quote_columns": False, "delimiter": ";"},
}

def test_seed_with_wrong_delimiter(self, project):
Expand All @@ -238,10 +234,7 @@ class TestSeedWithEmptyDelimiter(SeedUniqueDelimiterTestBase):
@pytest.fixture(scope="class")
def project_config_update(self):
return {
"seeds": {
"quote_columns": False,
"delimiter": ""
},
"seeds": {"quote_columns": False, "delimiter": ""},
}

def test_seed_with_empty_delimiter(self, project):
Expand Down