diff --git a/tests/unit_tests/test_cli.py b/tests/unit_tests/test_cli.py index 93ed0c243..441e45309 100644 --- a/tests/unit_tests/test_cli.py +++ b/tests/unit_tests/test_cli.py @@ -330,9 +330,9 @@ def test_env_reload_server_side_error(runner: CliRunner): ) result = runner.invoke(main, ["controller", "env", "-r"]) - assert isinstance(result.exception, BlueskyRemoteControlError), ( - "Expected a BlueskyRemoteError from cli runner" - ) + assert isinstance( + result.exception, BlueskyRemoteControlError + ), "Expected a BlueskyRemoteError from cli runner" assert result.exception.args[0] == "Failed to tear down the environment" # Check if the endpoints were hit as expected