Add ctx_obj fixture to conftest.py for CLI test context mocking
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

This commit is contained in:
aitbc
2026-05-27 10:44:31 +02:00
parent 6f6a0ded6d
commit 4b7e8ada32

View File

@@ -63,6 +63,18 @@ from tests.fixtures.test_data_factory import TestDataFactory
import pytest
@pytest.fixture
def ctx_obj():
"""Mock Click context object for CLI tests"""
return {
'output': 'table',
'url': None,
'api_key': None,
'verbose': 0,
'debug': False
}
@pytest.fixture(scope="session")
def training_env():
"""