Fix output decoding and stripping for passwords

This commit is contained in:
Luke Murphy
2020-04-11 23:18:50 +02:00
parent 1adab407e8
commit 49be06d41f
4 changed files with 8 additions and 5 deletions

View File

@ -15,7 +15,7 @@ def test_run_cwd(tmp_path):
testfile.write_text("hello, world")
output = run(["ls"], cwd=directory.absolute())
assert "testfile.txt" in output.decode()
assert "testfile.txt" in output
def test_make_qlist():