#415: Prevent double sudo

This commit is contained in:
nvbn
2015-12-11 07:41:13 +08:00
parent b65a9a0a4f
commit c3b1ba7637
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@ def test_match(stderr, stdout):
def test_not_match():
assert not match(Command())
assert not match(Command(script='sudo ls', stderr='Permission denied'))
@pytest.mark.parametrize('before, after', [