def test_not_match(script): assert not match(Command(script, ''))
def test_match(script, output): assert match(Command(script, output))
def test_match(script, stderr): assert match(Command(script=script, stderr=stderr))
def test_not_match(script): assert not match(Command(script=script))