@@ -29,13 +29,13 @@ class TestFileSearchQuery:
29
29
f"RecURSive sELECt * From '{ TEST_DIRECTORY } ' wHErE FilETypE = '.py'" ,
30
30
]
31
31
32
+ # Some of the test don't explicitly verify the extracted data as it is flexible and
33
+ # subject to change depending on the system and path the tests are executed from.
34
+
32
35
@pytest .mark .parametrize ("query" , basic_query_syntax_params )
33
36
def test_basic_query_syntax (self , query : str ) -> None :
34
37
"""Tests the basic file search query syntax."""
35
38
36
- # This test doesn't explicitly verifies the extracted data as it is flexible
37
- # and subject to change depending on the system and path it's executed from.
38
-
39
39
data : pd .DataFrame = QueryHandler (query ).handle ()
40
40
assert isinstance (data , pd .DataFrame )
41
41
@@ -56,9 +56,6 @@ def test_individual_fields(self, field: str) -> None:
56
56
def test_mixed_case_query (self , query : str ) -> None :
57
57
"""Tests file search queries comprising characters of mixed cases."""
58
58
59
- # This test doesn't explicitly verifies the extracted data as it is flexible
60
- # and subject to change depending on the system and path it's executed from.
61
-
62
59
data : pd .DataFrame = QueryHandler (query ).handle ()
63
60
assert isinstance (data , pd .DataFrame )
64
61
@@ -72,13 +69,13 @@ class TestDirSearchQuery:
72
69
f"RECURSIVE SELECT[TYPE DIR] * FROM '{ TEST_DIRECTORY } ' WHERE name in ('orders', 'reports')" ,
73
70
]
74
71
72
+ # Some of the test don't explicitly verify the extracted data as it is flexible and
73
+ # subject to change depending on the system and path the tests are executed from.
74
+
75
75
@pytest .mark .parametrize ("query" , basic_query_syntax_params )
76
76
def test_basic_query_syntax (self , query : str ) -> None :
77
77
"""Tests the basic directory search query syntax."""
78
78
79
- # This test doesn't explicitly verifies the extracted data as it is flexible
80
- # and subject to change depending on the system and path it's executed from.
81
-
82
79
data : pd .DataFrame = QueryHandler (query ).handle ()
83
80
assert isinstance (data , pd .DataFrame )
84
81
0 commit comments