Skip to content
Snippets Groups Projects
Commit 050cd1bd authored by Tom Pollard's avatar Tom Pollard
Browse files

tests/plugin/pipeline.py: Avoid using host user conf

create_pipeline was passing no config parameter to context.load,
leading to _context.py loading in the host's buildstream user conf
when running tests locally, potentially leading to unwanted errors.
parent daca0c01
No related branches found
No related tags found
1 merge request!961tests/plugin/pipeline.py: Avoid using host user conf
Pipeline #37387919 passed
......@@ -14,7 +14,7 @@ DATA_DIR = os.path.join(
def create_pipeline(tmpdir, basedir, target):
context = Context()
context.load()
context.load(config=os.devnull)
context.deploydir = os.path.join(str(tmpdir), 'deploy')
context.artifactdir = os.path.join(str(tmpdir), 'artifact')
project = Project(basedir, context)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment