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 16, 2024
1 parent c89306e commit 189867c
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.query_params.order_by) == 2
assert saved_query.query_params.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 189867c

Please sign in to comment.