| ====================================================================== | |
| FAIL: tests.payload.test_execd.ExecDTestCase.test_execd_run_dies_with_return_code | |
| ---------------------------------------------------------------------- | |
| _StringException: Traceback (most recent call last): | |
| File "/home/chris/repos/charm-helpers/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
| return func(*args, **keywargs) | |
| File "/home/chris/repos/charm-helpers/tests/payload/test_execd.py", line 151, in test_execd_run_dies_with_return_code | |
| exit_.assert_called_with(126) | |
| File "/home/chris/repos/charm-helpers/.venv/local/lib/python2.7/site-packages/mock.py", line 831, in assert_called_with | |
| raise AssertionError('Expected call: %s\nNot called' % (expected,)) | |
| AssertionError: Expected call: exit(126) | |
| Not called | |
| ====================================================================== | |
| FAIL: tests.payload.test_execd.ExecDTestCase.test_execd_run_logs_exception | |
| ---------------------------------------------------------------------- | |
| _StringException: Traceback (most recent call last): | |
| File "/home/chris/repos/charm-helpers/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
| return func(*args, **keywargs) | |
| File "/home/chris/repos/charm-helpers/tests/payload/test_execd.py", line 138, in test_execd_run_logs_exception | |
| log_.assert_called_with(expected_log) | |
| File "/home/chris/repos/charm-helpers/.venv/local/lib/python2.7/site-packages/mock.py", line 831, in assert_called_with | |
| raise AssertionError('Expected call: %s\nNot called' % (expected,)) | |
| AssertionError: Expected call: log('Error (126) running /tmp/tmpP5sAtO/exec.d/basenode/charm-pre-install. Output: None') | |
| Not called | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment