Skip to content

Commit

Permalink
Add query parser test case for publication_recid
Browse files Browse the repository at this point in the history
Add query parser test case for publication_recid in the test _query_parser test.
  • Loading branch information
ItIsJordan committed Aug 6, 2024
1 parent e9137cf commit 219b8ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/search_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def test_query_parser():

assert (parsed_query_string6 == 'analyses.type:rivet')

_test_query7 = 'publication_recid:1'
parsed_query_string7 = HEPDataQueryParser.parse_query(_test_query7)
assert (parsed_query_string7 == 'recid:1')


def test_query_parser_is_range_query():
"""
Expand Down

0 comments on commit 219b8ae

Please sign in to comment.