def test_simple_error_exact_status(self):
try:
-> cmdexec('exit 1')
except cmdexec.Error, e:
assert e.status == 1