fix: use positional argument for blockchain block command test
All checks were successful
CLI Tests / test-cli (push) Successful in 10s
Security Scanning / security-scan (push) Successful in 2m20s

- Change blockchain block test from --number 1 to 1
- CLI uses positional argument, not --number flag
- Fixes cli-level1-tests CI failure
This commit is contained in:
aitbc
2026-04-24 12:57:42 +02:00
parent 3f0d233688
commit 8cec714834

View File

@@ -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: