"""Pytest bootstrap: make first-party modules importable from the tests. The bot modules live at the repository root and the musician service lives in ``conjurer_musician/``; neither is an installable package, so we put both on ``sys.path`` here. """ import os import sys _ROOT = os.path.dirname(os.path.abspath(__file__)) for _path in (_ROOT, os.path.join(_ROOT, "conjurer_musician")): if _path not in sys.path: sys.path.insert(0, _path)