Fix simulate.py error import and update edge island leave command syntax
Some checks failed
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled

- simulate.py: Import error function from utils with fallback implementation
- test_edge_advanced.sh: Remove --island-id flag from island leave commands (use positional argument)
- conftest.py: Add tests directory to Python path for test discovery
This commit is contained in:
aitbc
2026-05-27 10:02:30 +02:00
parent ff2b8c2aed
commit 4fcbc0855e
3 changed files with 6 additions and 3 deletions

View File

@@ -16,11 +16,13 @@ import os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
try:
from utils import output, setup_logging
from utils import output, error, setup_logging
from config import get_config
except ImportError:
def output(msg, format_type):
click.echo(msg)
def error(msg):
click.echo(f"Error: {msg}")
def setup_logging(verbose, debug):
return "INFO"
def get_config(config_file=None, role=None):