Skip to content

Commit

Permalink
Update comments and docs in test_search_query.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul4732saini committed Jul 24, 2024
1 parent cb00baf commit 8ca5101
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_query/test_search_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
the functionality of search queries in FiSE.
"""

# NOTE:
# Some of the tests defined within this module don't explicitly verify the
# extracted search data as it is flexible and subject to change depending
# on the system and path the tests are executed from.


from pathlib import Path

import pytest
Expand Down Expand Up @@ -32,9 +38,6 @@ class TestFileSearchQuery:

individual_fields_test_params = constants.FILE_FIELDS + ("*",)

# Some of the test don't explicitly verify the extracted data as it is flexible and
# subject to change depending on the system and path the tests are executed from.

@pytest.mark.parametrize("query", basic_query_syntax_test_params)
def test_basic_query_syntax(self, query: str) -> None:
"""Tests the basic file search query syntax."""
Expand Down Expand Up @@ -80,9 +83,6 @@ class TestDirSearchQuery:

individual_fields_test_params = constants.DIR_FIELDS + ("*",)

# Some of the test don't explicitly verify the extracted data as it is flexible and
# subject to change depending on the system and path the tests are executed from.

@pytest.mark.parametrize("query", basic_query_syntax_test_params)
def test_basic_query_syntax(self, query: str) -> None:
"""Tests the basic directory search query syntax."""
Expand Down

0 comments on commit 8ca5101

Please sign in to comment.