Skip to content

Commit

Permalink
Update test_parsers.py
Browse files Browse the repository at this point in the history
Minor updates in test queries for `test_file_search_query_parser`
method in `TestFileQueryParser` class.
  • Loading branch information
rahul4732saini committed Jul 14, 2024
1 parent 668bbdb commit fed8354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_query/test_handlers/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class TestFileQueryParser:
file_search_query_test_params = [
"* FROM .",
"name, path, parent FROM ABSOLUTE '.'",
"access_time, modify_time from RELATIVE .",
"access_time,modify_time from RELATIVE .",
r"* FROM ABSOLUTE . WHERE type = '.txt' AND name LIKE '^report-[0-9]*\.txt$'",
"name, path, access_time FROM . WHERE atime >= '2023-04-04' OR ctime >= '2023-12-04'",
"name, path,access_time FROM . WHERE atime >= '2023-04-04' OR ctime >= '2023-12-04'",
"* FROM '.' WHERE atime >= '2024-02-20'",
]

Expand Down

0 comments on commit fed8354

Please sign in to comment.