summaryrefslogtreecommitdiff
path: root/src/buildstream/testing/_sourcetests/source_determinism.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/testing/_sourcetests/source_determinism.py')
-rw-r--r--src/buildstream/testing/_sourcetests/source_determinism.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/buildstream/testing/_sourcetests/source_determinism.py b/src/buildstream/testing/_sourcetests/source_determinism.py
index 465afa23b..d829984a8 100644
--- a/src/buildstream/testing/_sourcetests/source_determinism.py
+++ b/src/buildstream/testing/_sourcetests/source_determinism.py
@@ -49,12 +49,8 @@ def create_test_directory(*path, mode=0o644):
@pytest.mark.integration
@pytest.mark.datafiles(DATA_DIR)
-@pytest.mark.skipif(
- not HAVE_SANDBOX, reason="Only available with a functioning sandbox"
-)
-@pytest.mark.skipif(
- HAVE_SANDBOX == "buildbox", reason="Not working with BuildBox, Must Fix"
-)
+@pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox")
+@pytest.mark.skipif(HAVE_SANDBOX == "buildbox", reason="Not working with BuildBox, Must Fix")
def test_deterministic_source_umask(cli, tmpdir, datafiles, kind):
project = str(datafiles)
element_name = "list.bst"
@@ -96,10 +92,7 @@ def test_deterministic_source_umask(cli, tmpdir, datafiles, kind):
result = cli.run(project=project, args=["build", element_name])
result.assert_success()
- result = cli.run(
- project=project,
- args=["artifact", "checkout", element_name, "--directory", checkoutdir],
- )
+ result = cli.run(project=project, args=["artifact", "checkout", element_name, "--directory", checkoutdir],)
result.assert_success()
with open(os.path.join(checkoutdir, "ls-l"), "r") as f: