summaryrefslogtreecommitdiff
path: root/buildstream/testing/_utils/__init__.py
blob: b419d72b7265b1b7f44bfce49fa4fc200033e5c7 (plain)
1
2
3
4
5
6
7
8
9
10
import os

from buildstream import _yaml
from .junction import generate_junction


def configure_project(path, config):
    config['name'] = 'test'
    config['element-path'] = 'elements'
    _yaml.dump(config, os.path.join(path, 'project.conf'))