idea144-crossvenuearbx-fede.../tests/test_demo_integration.py

15 lines
412 B
Python

import pytest
import os
import sys
BASE = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
if BASE not in sys.path:
sys.path.insert(0, BASE)
from crossvenue_arbx.demo import run_demo
def test_demo_runs_quietly():
# Run a very small iteration to ensure integration works
# We deliberately avoid stdout capture complexity by using a short run
run_demo(iterations=2)
assert True