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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user