import os import sys import pytest sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) @pytest.fixture(scope="session") def cc_fixtures(tmp_path_factory): """Build the toy CC bucket layout once; return its root dir.""" from tests.make_fixtures import build root = str(tmp_path_factory.mktemp("cc")) build(root) return root