refstack-client/refstack_client
Dolph Mathews 1b7f413b60 Pass tempest return code back to caller
Use case: I'm running refstack-client in a tox job, which always appears
to succeed, even when the test fails.

Currently, unless it throws a backtrace on it's own, the refstack-client
script always returns successfully, even when the tempest job it's
running fails.

This change simply passes non-zero return codes back through as the
refstack-client's return code.

Only the test() method was affected here, because it's the only
externally callable function that uses subprocess. Other functions can
now return non-zero return codes as well.

Change-Id: I0ce786babcbee47da1c038a3478bcd4de0dff16e
2016-02-04 15:22:28 +00:00
..
scripts Keep py3.X compatibility for urllib 2015-12-24 12:18:53 +05:30
tests Fix unit test 2016-02-02 16:14:10 -08:00
__init__.py Rename refstack-client to refstack_client 2014-09-23 15:17:17 +03:00
list_parser.py Report stdout from test listing on failure 2016-01-13 06:36:13 -06:00
refstack_client.py Pass tempest return code back to caller 2016-02-04 15:22:28 +00:00
subunit_processor.py Add parsing test uuids from test result 2015-03-05 18:07:58 +02:00