Skip to content

Instantly share code, notes, and snippets.

@abadger
Created October 12, 2014 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abadger/0c4cace2eb6f66da4fb5 to your computer and use it in GitHub Desktop.
Save abadger/0c4cace2eb6f66da4fb5 to your computer and use it in GitHub Desktop.
$ PYTHONPATH=/srv/ansible/ansible3/v2/ nosetests test/v2/errors *[devel] (22:06:19)
FF
======================================================================
FAIL: test_basic_error (errors.test_errors.TestErrors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/ansible/ansible3/test/v2/errors/test_errors.py", line 20, in test_basic_error
assert e.message != self.message
AssertionError
======================================================================
FAIL: test_error_with_object (errors.test_errors.TestErrors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/ansible/ansible3/test/v2/errors/test_errors.py", line 33, in test_error_with_object
assert e.message != 'this is the error message\nThe error occurred on line 1 of the file foo.yml:\nthis is line 1\n^'
AssertionError
----------------------------------------------------------------------
Ran 2 tests in 0.002s
FAILED (failures=2)
[pts/13@roan /srv/ansible/ansible3]$ fg *[devel] (22:06:23)
[1] + 29120 continued gvim -v test/v2/errors/test_errors.py
[1] + 29120 suspended gvim -v test/v2/errors/test_errors.py
[pts/13@roan /srv/ansible/ansible3]$ PYTHONPATH=/srv/ansible/ansible3/v2/ nosetests test/v2/errors *[devel] (22:07:04)
FF
======================================================================
FAIL: test_basic_error (errors.test_errors.TestErrors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/ansible/ansible3/test/v2/errors/test_errors.py", line 20, in test_basic_error
self.assertNotEqual(e.message, self.message)
AssertionError: 'this is the error message' == 'this is the error message'
======================================================================
FAIL: test_error_with_object (errors.test_errors.TestErrors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/ansible/ansible3/test/v2/errors/test_errors.py", line 33, in test_error_with_object
self.assertNotEqual(e.message, 'this is the error message\nThe error occurred on line 1 of the file foo.yml:\nthis is line 1\n^')
AssertionError: 'this is the error message\nThe error occurred on line 1 of the file foo.yml:\nthis is line 1\n^' == 'this is the error message\nThe error occurred on line 1 of the file foo.yml:\nthis is line 1\n^'
----------------------------------------------------------------------
Ran 2 tests in 0.002s
FAILED (failures=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment