Skip to content

Commit

Permalink
fix expected color fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Mar 22, 2023
1 parent 63cd872 commit 3d56ac3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/functional/adapter/test_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,4 @@ def models(self):
"constraints_schema.yml": constraints_yml,
}

# On Spark/Databricks, constraints are applied *after* the table is replaced.
# We don't have any way to "rollback" the table to its previous happy state.
# So the 'color' column will be updated to 'red', instead of 'blue'.
@pytest.fixture(scope="class")
def expected_color(self):
return "red"
# The insert never gets applied so for this materialization the color stays blue

0 comments on commit 3d56ac3

Please sign in to comment.