gateway/tests/demo
2026-04-13 01:37:29 +02:00
..
__init__.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
conftest.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
README.md fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_api.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_bootstrap.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_data_files.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_neutralization.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_uc1_trustee.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_uc2_realestate.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_uc3_chatbot.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00
test_demo_uc4_i18n.py fixes in node languages and ai workflow 2026-04-13 01:37:29 +02:00

Demo Test Suite

Automated tests for the investor demo configuration.

Prerequisites

  1. Gateway DB must be running and accessible
  2. Demo config must be loaded first: Admin UI → /admin/demo-config → Load "Investor Demo April 2026"
  3. RMA credentials must be set in gateway/config.ini

Run

cd gateway/

# All demo tests (structural, no AI calls):
pytest tests/demo/ -v

# Only bootstrap tests:
pytest tests/demo/test_demo_bootstrap.py -v

# Only UC1 trustee:
pytest tests/demo/test_demo_uc1_trustee.py -v

Test files

File What it tests
test_demo_bootstrap.py Idempotent load/remove, mandates, user, features, RMA, neutralization
test_demo_uc1_trustee.py Trustee instances, RMA config, system workflow templates
test_demo_uc2_realestate.py Workspace instances for agent demo
test_demo_uc3_chatbot.py Chatbot instance, knowledge-base files
test_demo_uc4_i18n.py i18n readiness, Spanish not pre-installed
test_demo_neutralization.py Neutralization config enabled, test PDF exists