summaryrefslogtreecommitdiff
path: root/tests/sandboxes/missing_dependencies.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sandboxes/missing_dependencies.py')
-rw-r--r--tests/sandboxes/missing_dependencies.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/sandboxes/missing_dependencies.py b/tests/sandboxes/missing_dependencies.py
index 16754747e..b4967727f 100644
--- a/tests/sandboxes/missing_dependencies.py
+++ b/tests/sandboxes/missing_dependencies.py
@@ -12,9 +12,7 @@ from buildstream.testing import cli # pylint: disable=unused-import
# Project directory
-DATA_DIR = os.path.join(
- os.path.dirname(os.path.realpath(__file__)), "missing-dependencies",
-)
+DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "missing-dependencies",)
def _symlink_host_tools_to_dir(host_tools, dir_):
@@ -44,9 +42,7 @@ def test_missing_bwrap_has_nice_error_message(cli, datafiles, tmp_path):
# Build without access to host tools, this should fail with a nice error
result = cli.run(
- project=project,
- args=["build", "element.bst"],
- env={"PATH": str(bin_dir), "BST_FORCE_SANDBOX": None},
+ project=project, args=["build", "element.bst"], env={"PATH": str(bin_dir), "BST_FORCE_SANDBOX": None},
)
result.assert_task_error(ErrorDomain.SANDBOX, "unavailable-local-sandbox")
assert "not found" in result.stderr