Skip to content

Commit

Permalink
Fix SQLAlchemy tests
Browse files Browse the repository at this point in the history
Signed-off-by: Levko Kravets <levko.ne@gmail.com>
  • Loading branch information
kravets-levko committed May 30, 2024
1 parent c4e8103 commit c059901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/databricks/sqlalchemy/test_local/test_ddl.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def table_without_comment(self, metadata) -> Table:
def test_create_table_with_comment(self, table_with_comment):
stmt = CreateTable(table_with_comment)
output = self.compile(stmt)
assert "USING DELTA COMMENT 'foobar'" in output
assert "USING DELTA" in output
assert "COMMENT 'foobar'" in output

def test_alter_table_add_comment(self, table_without_comment: Table):
table_without_comment.comment = "wireless mechanical keyboard"
Expand Down

0 comments on commit c059901

Please sign in to comment.