File size: 376 Bytes
15eb4b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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