From 100aa624ad3f8ad466a95f9da8af30f31f77cc9c Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 16:24:30 +0900 Subject: fix: resolve lint issues and final integration fixes - Fix ambiguous variable name in binance_rest.py - Remove unused volumes variable in volume_profile_strategy.py - Fix import ordering in backtester main.py and test_metrics.py - Auto-format all files with ruff --- shared/tests/test_resilience.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared/tests/test_resilience.py') diff --git a/shared/tests/test_resilience.py b/shared/tests/test_resilience.py index 514bcc2..e287777 100644 --- a/shared/tests/test_resilience.py +++ b/shared/tests/test_resilience.py @@ -1,5 +1,5 @@ """Tests for retry with backoff and circuit breaker.""" -import asyncio + import time import pytest @@ -63,6 +63,7 @@ async def test_retry_raises_after_max_retries(): @pytest.mark.asyncio async def test_retry_respects_max_delay(): """Backoff should be capped at max_delay.""" + @retry_with_backoff(max_retries=2, base_delay=0.01, max_delay=0.02) async def always_fail(): raise RuntimeError("fail") -- cgit v1.2.3