From 61b2a193e79d74783bb1ad4c3a8ccb6ead0f24c0 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:57:43 +0900 Subject: fix: lint cleanup after medium priority tasks --- cli/tests/test_cli_strategy.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cli/tests/test_cli_strategy.py') diff --git a/cli/tests/test_cli_strategy.py b/cli/tests/test_cli_strategy.py index 3c89477..cf3057b 100644 --- a/cli/tests/test_cli_strategy.py +++ b/cli/tests/test_cli_strategy.py @@ -1,4 +1,5 @@ """Tests for strategy CLI commands.""" + from unittest.mock import patch, MagicMock from click.testing import CliRunner from trading_cli.main import cli @@ -44,4 +45,8 @@ def test_strategy_info_unknown(): runner = CliRunner() result = runner.invoke(cli, ["strategy", "info", "--name", "nonexistent"]) # Should handle gracefully (exit 0 or 1 with message) - assert "not found" in result.output.lower() or result.exit_code != 0 or "nonexistent" in result.output + assert ( + "not found" in result.output.lower() + or result.exit_code != 0 + or "nonexistent" in result.output + ) -- cgit v1.2.3