Skip to content

Commit 6c16b70

Browse files
Fix SQLAlchemy tests (#393)
Signed-off-by: Levko Kravets <[email protected]>
1 parent c4e8103 commit 6c16b70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databricks/sqlalchemy/test_local/test_ddl.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def table_without_comment(self, metadata) -> Table:
7979
def test_create_table_with_comment(self, table_with_comment):
8080
stmt = CreateTable(table_with_comment)
8181
output = self.compile(stmt)
82-
assert "USING DELTA COMMENT 'foobar'" in output
82+
assert "USING DELTA" in output
83+
assert "COMMENT 'foobar'" in output
8384

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

0 commit comments

Comments
 (0)