Use shorter check to account for varying distro errors
This commit is contained in:
parent
dcd0c19daf
commit
c84c80b5c7
@ -10,5 +10,5 @@ class TestMinitor(object):
|
|||||||
assert ex is None
|
assert ex is None
|
||||||
|
|
||||||
output, ex = call_output(['ls', '--not-a-real-flag'])
|
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
|
assert ex is not None
|
||||||
|
Loading…
Reference in New Issue
Block a user