summaryrefslogtreecommitdiff
path: root/tests/internals/cascache.py
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-11-05 13:00:30 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-11-05 13:00:30 +0000
commite06c2295b063245dbdb2397e5bd8c4d0a79ba10d (patch)
tree224a111e1daee5a7d450e7d5e0c31fd94c1e19c6 /tests/internals/cascache.py
parentc1f423f8653c5a9e3e72283879e8cecabf25ed3f (diff)
downloadbuildstream-e06c2295b063245dbdb2397e5bd8c4d0a79ba10d.tar.gz
Blacken codebase
Diffstat (limited to 'tests/internals/cascache.py')
-rw-r--r--tests/internals/cascache.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/internals/cascache.py b/tests/internals/cascache.py
index 81273aeaf..a35d50040 100644
--- a/tests/internals/cascache.py
+++ b/tests/internals/cascache.py
@@ -47,7 +47,9 @@ def test_report_when_cascache_exist_not_cleanly(tmp_path, monkeypatch):
def test_report_when_cascache_is_forcefully_killed(tmp_path, monkeypatch):
dummy_buildbox_casd = tmp_path.joinpath("buildbox-casd")
- dummy_buildbox_casd.write_text("#!/bin/bash\ntrap 'echo hello' SIGTERM\nwhile :\ndo\nsleep 60\ndone")
+ dummy_buildbox_casd.write_text(
+ "#!/bin/bash\ntrap 'echo hello' SIGTERM\nwhile :\ndo\nsleep 60\ndone"
+ )
dummy_buildbox_casd.chmod(0o777)
monkeypatch.setenv("PATH", str(tmp_path), prepend=os.pathsep)