pegleg/tests/unit
Felipe Monteiro 58b393322b fix: Always check for exit_code 0 in CLI tests
This patch set fixes a recent issue that was introducing
following a refactor Pegleg table output. The related
CLI unit tests were changed to stop checking for an exit_code
of 0 due to improper mocking causing an exit_code of -1
to be returned instead.

This patch set corrects the issue by refactoring the code to
allow for exit_code 0 to always be checked.

Further refactoring was done in places to reduce code
duplication via helpers.

Change-Id: Ib9cf7c71b02d74de152b7e34911c867d2251a18a
2018-10-22 10:16:49 -04:00
..
engine fix: Enable Pegleg to support manifest repos like AIAB 2018-10-18 19:07:31 +01:00
__init__.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
conftest.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
fixtures.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
test_cli.py fix: Always check for exit_code 0 in CLI tests 2018-10-22 10:16:49 -04:00
test_utils.py fix: Enable Pegleg to support manifest repos like AIAB 2018-10-18 19:07:31 +01:00