Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions tests/unit/searchcommands/test_search_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,6 @@ class ConfigurationSettings(SearchCommand.ConfigurationSettings):
# endregion


@Configuration()
class TestStreamingCommand(StreamingCommand):
def stream(self, records):
serial_number = 0
for record in records:
action = record["action"]
if action == "raise_error":
raise RuntimeError("Testing")
value = (
self.search_results_info
if action == "get_search_results_info"
else None
)
yield {"_serial": serial_number, "data": value}
serial_number += 1


@pytest.mark.smoke
class TestSearchCommand(TestCase):
def setUp(self):
Expand Down