Skip to content

Commit

Permalink
Check order by / limit in saved-query parsing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Oct 11, 2024
1 parent a47e78b commit 485b70f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/functional/saved_queries/test_saved_query_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 485b70f

Please sign in to comment.