diff options
author | Steven Hardy <shardy@redhat.com> | 2015-01-14 11:22:50 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2015-01-14 11:51:48 +0000 |
commit | 3528e90b0cf8c68e72202c32fada445d39ca13e0 (patch) | |
tree | 3e5e82d5614d6a045c80283881dc55772709ca6c /.coveragerc | |
parent | cd7408e41e16fe06038b6529e7206483f67061a3 (diff) |
Fix test_cli exit code assertion
Currently we ignore the actual return code from the main() function,
due to the try/catch, which isn't appropriate where we're directly
calling the function. Instead assert the return value directly,
which will catch failures where main returns a non-zero status.
Change-Id: Ic92ca243230f732201f30cc63be5101f70c206bb
Diffstat (limited to '.coveragerc')
0 files changed, 0 insertions, 0 deletions