From c0599016a743f9949bf658d16b3468958f228a5a Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Thu, 30 May 2024 19:33:45 +0300 Subject: [PATCH] Fix SQLAlchemy tests Signed-off-by: Levko Kravets --- src/databricks/sqlalchemy/test_local/test_ddl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/databricks/sqlalchemy/test_local/test_ddl.py b/src/databricks/sqlalchemy/test_local/test_ddl.py index a83ff244..f596dffa 100644 --- a/src/databricks/sqlalchemy/test_local/test_ddl.py +++ b/src/databricks/sqlalchemy/test_local/test_ddl.py @@ -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"