Use shorter check to account for varying distro errors

This commit is contained in:
IamTheFij 2018-04-11 10:03:05 -07:00
parent dcd0c19daf
commit c84c80b5c7

View File

@ -10,5 +10,5 @@ class TestMinitor(object):
assert ex is None
output, ex = call_output(['ls', '--not-a-real-flag'])
assert output.startswith(b'ls: illegal option')
assert output.startswith(b'ls: ')
assert ex is not None