fix: remove /v1 prefix from agent API endpoints and resolve variable naming conflicts
- Update all agent command endpoints to remove /v1 prefix for API consistency - Rename `success` variable to `is_success` in chain.py to avoid conflict with success() function - Rename `output` parameter to `output_file` in genesis.py for clarity - Add admin command help tests to verify command structure - Update blockchain status endpoint from /status to /v1/health in tests - Mark admin help command as working
This commit is contained in:
@@ -166,7 +166,7 @@ class TestBlockchainCommands:
|
||||
|
||||
# Verify API call
|
||||
mock_client.get.assert_called_once_with(
|
||||
'http://localhost:8082/status',
|
||||
'http://localhost:8082/v1/health',
|
||||
timeout=5
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user