From a4f0b0cc361c0237a2223ac08509e0904fbaf3ba Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 25 Sep 2023 16:08:18 -0700 Subject: [PATCH] fix tests --- tests/functional/adapter/persist_docs/fixtures.py | 2 +- tests/functional/adapter/persist_docs/test_persist_docs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/adapter/persist_docs/fixtures.py b/tests/functional/adapter/persist_docs/fixtures.py index 8865bfdcb..b884b7dec 100644 --- a/tests/functional/adapter/persist_docs/fixtures.py +++ b/tests/functional/adapter/persist_docs/fixtures.py @@ -36,7 +36,7 @@ models: - name: view_delta_model description: | - Incremental model description "with double quotes" + View model description "with double quotes" and with 'single quotes' as welll as other; '''abc123''' reserved -- characters diff --git a/tests/functional/adapter/persist_docs/test_persist_docs.py b/tests/functional/adapter/persist_docs/test_persist_docs.py index e72013877..ee02e5ef8 100644 --- a/tests/functional/adapter/persist_docs/test_persist_docs.py +++ b/tests/functional/adapter/persist_docs/test_persist_docs.py @@ -117,7 +117,7 @@ def test_delta_comments(self, project): if result[0] == "id": assert result[2].startswith("id Column description") if result[0] == "count": - self.assertEqual(result[2], "") + assert result[2] is None @pytest.mark.skip_profile("apache_spark", "spark_session")