From 485b70fa61f5d8aaee4337428101d5f503b84b76 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Mon, 12 Aug 2024 12:57:20 -0700 Subject: [PATCH] Check order by / limit in saved-query parsing test. --- tests/functional/saved_queries/test_saved_query_parsing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/functional/saved_queries/test_saved_query_parsing.py b/tests/functional/saved_queries/test_saved_query_parsing.py index 40e4cdfa4fb..1a0917cd838 100644 --- a/tests/functional/saved_queries/test_saved_query_parsing.py +++ b/tests/functional/saved_queries/test_saved_query_parsing.py @@ -66,6 +66,10 @@ def test_semantic_model_parsing(self, project): assert len(saved_query.query_params.group_by) == 1 assert len(saved_query.query_params.where.where_filters) == 3 assert len(saved_query.depends_on.nodes) == 1 + + assert len(saved_query.order_by) == 3 + assert saved_query.limit is not None + assert saved_query.description == "My SavedQuery Description" assert len(saved_query.exports) == 1 assert saved_query.exports[0].name == "my_export"