Skip to content

Commit 947e89a

Browse files
Minor fixes in formatting
1 parent c302189 commit 947e89a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/test_query/test_delete_query.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ class TestFileDeleteQuery:
105105
def test_basic_query_syntax(self, index: int, query: str) -> None:
106106
"""Tests the basic file delete query syntax."""
107107
examine_delete_query(query, f"/file/basic/test{index}")
108-
108+
109109
@pytest.mark.parametrize(("index", "query"), recursive_command_test_params)
110110
def test_recursive_command(self, index: int, query: str) -> None:
111111
"""Tests the recursive command in file delete query."""
112112
examine_delete_query(query, f"/file/recursive/test{index}")
113-
113+
114114
@pytest.mark.parametrize(("index", "query"), path_types_test_params)
115115
def test_path_types(self, index: int, query: str) -> None:
116116
"""Tests all the available path types in file delete query."""
117117
examine_delete_query(query, f"/file/path_types/test{index}")
118-
118+
119119
# The following test uses the same delete queries defined for basic query syntax test
120120
# comprising characters of mixed cases, and hence uses the file and directory records
121121
# stored at the same path in the `test_delete_query.hdf` file.
@@ -153,12 +153,12 @@ class TestDirDeleteQuery:
153153
def test_basic_query_syntax(self, index: int, query: str) -> None:
154154
"""Tests the basic directory delete query syntax."""
155155
examine_delete_query(query, f"/dir/basic/test{index}")
156-
156+
157157
@pytest.mark.parametrize(("index", "query"), path_types_test_params)
158158
def test_path_types(self, index: int, query: str) -> None:
159159
"""Tests all the available path types in directory delete query."""
160160
examine_delete_query(query, f"/dir/path_types/test{index}")
161-
161+
162162
# The following test uses the same delete queries defined for basic query syntax test
163163
# comprising characters of mixed cases, and hence uses the file and directory records
164164
# stored at the same path in the `test_delete_query.hdf` file.

tests/test_query/test_search_query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_basic_query_syntax(self, query: str) -> None:
3838

3939
data: pd.DataFrame = QueryHandler(query).handle()
4040
assert isinstance(data, pd.DataFrame)
41-
41+
4242
@pytest.mark.parametrize("field", constants.FILE_FIELDS)
4343
def test_individual_fields(self, field: str) -> None:
4444
"""Tests file search queries with all file fields individually."""
@@ -51,7 +51,7 @@ def test_individual_fields(self, field: str) -> None:
5151
# The following test uses the same delete queries defined for basic query syntax test
5252
# comprising characters of mixed cases, and hence uses the file and directory records
5353
# stored at the same path in the `test_delete_query.hdf` file.
54-
54+
5555
@pytest.mark.parametrize("query", mixed_case_query_params)
5656
def test_mixed_case_query(self, query: str) -> None:
5757
"""Tests file search queries comprising characters of mixed cases."""
@@ -86,4 +86,4 @@ def test_individual_fields(self, field: str) -> None:
8686
query: str = f"select[type dir] {field} from '{TEST_DIRECTORY}'"
8787

8888
data: pd.DataFrame = QueryHandler(query).handle()
89-
assert isinstance(data, pd.DataFrame)
89+
assert isinstance(data, pd.DataFrame)

0 commit comments

Comments
 (0)