From 8cec7148340d60cd0769a51fa680452e18648b9c Mon Sep 17 00:00:00 2001 From: aitbc Date: Fri, 24 Apr 2026 12:57:42 +0200 Subject: [PATCH] fix: use positional argument for blockchain block command test - Change blockchain block test from --number 1 to 1 - CLI uses positional argument, not --number flag - Fixes cli-level1-tests CI failure --- cli/tests/run_cli_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tests/run_cli_tests.py b/cli/tests/run_cli_tests.py index 24ece3d0..f513b228 100755 --- a/cli/tests/run_cli_tests.py +++ b/cli/tests/run_cli_tests.py @@ -54,8 +54,8 @@ def run_cli_test(): # Test 3: CLI blockchain command print("\n3. Testing CLI blockchain command...") try: - result = run_command("blockchain", "block", "--number", "1") - + result = run_command("blockchain", "block", "1") + if result.returncode == 0 and "Block #1" in result.stdout: print("✅ CLI blockchain command working") else: