"""Pytest configuration. Set BOT_TOKEN so config module can be imported.""" import os # Set before any project code imports config (which requires BOT_TOKEN). if not os.environ.get("BOT_TOKEN"): os.environ["BOT_TOKEN"] = "test-token-for-pytest"