diff options
Diffstat (limited to 'tests/frontend/__init__.py')
-rw-r--r-- | tests/frontend/__init__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/frontend/__init__.py b/tests/frontend/__init__.py index e69de29bb..8cf7625a9 100644 --- a/tests/frontend/__init__.py +++ b/tests/frontend/__init__.py @@ -0,0 +1,10 @@ +import os +from buildstream import _yaml + + +# Shared function to configure the project.conf inline +# +def configure_project(path, config): + config['name'] = 'test' + config['element-path'] = 'elements' + _yaml.dump(config, os.path.join(path, 'project.conf')) |