Skip to content

Commit 9ae07f1

Browse files
committed
Remove unused TestStreamingCommand from test_search_command.py
1 parent d85a59f commit 9ae07f1

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/unit/searchcommands/test_search_command.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,6 @@ class ConfigurationSettings(SearchCommand.ConfigurationSettings):
9292
# endregion
9393

9494

95-
@Configuration()
96-
class TestStreamingCommand(StreamingCommand):
97-
def stream(self, records):
98-
serial_number = 0
99-
for record in records:
100-
action = record["action"]
101-
if action == "raise_error":
102-
raise RuntimeError("Testing")
103-
value = (
104-
self.search_results_info
105-
if action == "get_search_results_info"
106-
else None
107-
)
108-
yield {"_serial": serial_number, "data": value}
109-
serial_number += 1
110-
111-
11295
@pytest.mark.smoke
11396
class TestSearchCommand(TestCase):
11497
def setUp(self):

0 commit comments

Comments
 (0)