Skip to content

Commit c5ab6b3

Browse files
committed
Test: add missing coverage for streaming error
1 parent eb2e21c commit c5ab6b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit_tests/cli/test_cli.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,13 +721,18 @@ def test_env_reload_server_side_error(runner: CliRunner):
721721
ValueError("Error parsing parameters"),
722722
"Error: task could not run: Error parsing parameters\n",
723723
),
724+
(
725+
BlueskyStreamingError("streaming failed"),
726+
"Error: streaming error: streaming failed\n",
727+
),
724728
],
725729
ids=[
726730
"unknown_plan",
727731
"unauthorised_access",
728732
"invalid_parameters",
729733
"remote_control",
730734
"value_error",
735+
"streaming_error",
731736
],
732737
)
733738
def test_error_handling(exception, error_message, runner: CliRunner):

0 commit comments

Comments
 (0)