============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-9.2.0, pluggy-1.7.0 -- /root/telegram-saas/.venv/bin/python3 cachedir: .pytest_cache rootdir: /root/telegram-saas configfile: pyproject.toml plugins: anyio-4.16.0, asyncio-1.5.0 asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function collecting ... collected 14 items tests/unit/test_bot_modular_engine.py::test_module_catalog_definitions PASSED [ 7%] tests/unit/test_bot_modular_engine.py::test_bot_module_lifecycle PASSED [ 14%] tests/unit/test_bot_modular_engine.py::test_force_join_gating_behavior PASSED [ 21%] tests/unit/test_bot_modular_engine.py::test_referrals_and_growth_attribution PASSED [ 28%] tests/unit/test_bot_modular_engine.py::test_auto_filter_keyword_and_blocked_words PASSED [ 35%] tests/unit/test_bot_modular_engine.py::test_redeem_code_lifecycle_and_redemption PASSED [ 42%] tests/unit/test_bot_modular_engine.py::test_three_way_triggers_and_menu_generation PASSED [ 50%] tests/unit/test_bot_modular_engine.py::test_captcha_and_daily_rewards_lifecycle PASSED [ 57%] tests/unit/test_bot_modular_engine.py::test_file_store_and_support_tickets_lifecycle PASSED [ 64%] tests/integration/test_bot_modular_api_and_execution.py::test_bot_modular_api_and_execution_lifecycle PASSED [ 71%] tests/unit/test_mcp_protocol.py::test_platform_mcp_tools_registry_integrity PASSED [ 78%] tests/unit/test_mcp_protocol.py::test_mcp_server_initialize_handshake PASSED [ 85%] tests/unit/test_mcp_protocol.py::test_mcp_server_ping_and_invalid_methods PASSED [ 92%] tests/integration/test_mcp_api.py::test_mcp_pro_full_lifecycle_and_tenant_isolation PASSED [100%] ============================== 14 passed in 8.53s ==============================