diff options
Diffstat (limited to 'src/buildstream/testing/_utils/__init__.py')
-rw-r--r-- | src/buildstream/testing/_utils/__init__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/buildstream/testing/_utils/__init__.py b/src/buildstream/testing/_utils/__init__.py new file mode 100644 index 000000000..b419d72b7 --- /dev/null +++ b/src/buildstream/testing/_utils/__init__.py @@ -0,0 +1,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')) |