summaryrefslogtreecommitdiff
path: root/tests/remoteexecution/junction.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/remoteexecution/junction.py')
-rw-r--r--tests/remoteexecution/junction.py19
1 files changed, 4 insertions, 15 deletions
diff --git a/tests/remoteexecution/junction.py b/tests/remoteexecution/junction.py
index dd8d4d4e0..46bfaa8af 100644
--- a/tests/remoteexecution/junction.py
+++ b/tests/remoteexecution/junction.py
@@ -20,9 +20,7 @@
import os
import pytest
-from buildstream.testing import (
- cli_remote_execution as cli,
-) # pylint: disable=unused-import
+from buildstream.testing import cli_remote_execution as cli # pylint: disable=unused-import
from buildstream.testing import create_repo
from buildstream import _yaml
from tests.testutils import generate_junction
@@ -72,19 +70,12 @@ def test_junction_build_remote(cli, tmpdir, datafiles):
# Create a trackable element to depend on the cross junction element,
# this one has it's ref resolved already
create_element(
- repo,
- "sub-target.bst",
- subproject_element_path,
- ["autotools/amhello.bst"],
- ref=ref,
+ repo, "sub-target.bst", subproject_element_path, ["autotools/amhello.bst"], ref=ref,
)
# Create a trackable element to depend on the cross junction element
create_element(
- repo,
- "target.bst",
- element_path,
- [{"junction": "junction.bst", "filename": "sub-target.bst"}],
+ repo, "target.bst", element_path, [{"junction": "junction.bst", "filename": "sub-target.bst"}],
)
# Create a repo to hold the subproject and generate a junction element for it
@@ -106,9 +97,7 @@ def test_junction_build_remote(cli, tmpdir, datafiles):
result.assert_success()
# track target to ensure we have refs
- result = cli.run(
- project=project, args=["source", "track", "--deps", "all", "composed.bst"]
- )
+ result = cli.run(project=project, args=["source", "track", "--deps", "all", "composed.bst"])
result.assert_success()
# build