We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55700b1 + 634fa24 commit 8a1833dCopy full SHA for 8a1833d
1 file changed
securedrop/tests/test_rm.py
@@ -13,11 +13,11 @@ def test_secure_delete_capability(config):
13
14
path = os.environ["PATH"]
15
try:
16
- os.environ["PATH"] = "{}:{}".format("/sbin", config.TEMP_DIR)
+ os.environ["PATH"] = "{}".format(config.TEMP_DIR)
17
assert rm.check_secure_delete_capability() is False
18
fakeshred = os.path.join(config.TEMP_DIR, "shred")
19
with open(fakeshred, "w") as f:
20
- f.write("#!/bin/bash\nexit1\n")
+ f.write("#!/bin/bash\nexit 1\n")
21
os.chmod(fakeshred, 0o700)
22
23
finally:
0 commit comments