Skip to content

Commit

Permalink
reorg tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Mar 22, 2023
1 parent 952b137 commit bc28c8a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/functional/adapter/test_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,18 @@ def expected_sql(self):
return _expected_sql_snowflake


class TestSnowflakeIncrementalConstraintsDdlEnforcement(BaseIncrementalConstraintsRuntimeDdlEnforcement):
@pytest.fixture(scope="class")
def expected_sql(self):
return _expected_sql_snowflake


class TestSnowflakeTableConstraintsRollback(BaseConstraintsRollback):
@pytest.fixture(scope="class")
def expected_error_messages(self):
return ["NULL result in a non-nullable column"]


class TestSnowflakeIncrementalConstraintsDdlEnforcement(BaseIncrementalConstraintsRuntimeDdlEnforcement):
@pytest.fixture(scope="class")
def expected_sql(self):
return _expected_sql_snowflake

class TestSnowflakeIncrementalConstraintsRollback(BaseIncrementalConstraintsRollback):
@pytest.fixture(scope="class")
def expected_error_messages(self):
Expand Down

0 comments on commit bc28c8a

Please sign in to comment.