Skip to content

Commit 8f31cc6

Browse files
committed
Remove unused TestStreamingCommand from test_search_command.py
1 parent 1c25e27 commit 8f31cc6

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/searchcommands/test_search_command.py

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

9999

100-
@Configuration()
101-
class TestStreamingCommand(StreamingCommand):
102-
def stream(self, records):
103-
serial_number = 0
104-
for record in records:
105-
action = record["action"]
106-
if action == "raise_error":
107-
raise RuntimeError("Testing")
108-
value = (
109-
self.search_results_info
110-
if action == "get_search_results_info"
111-
else None
112-
)
113-
yield {"_serial": serial_number, "data": value}
114-
serial_number += 1
115-
116-
117100
@pytest.mark.smoke
118101
class TestSearchCommand(TestCase):
119102
def setUp(self):

0 commit comments

Comments
 (0)