Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestFailure isn't a useful message #2

Open
bradleyayers opened this issue May 28, 2012 · 0 comments
Open

TestFailure isn't a useful message #2

bradleyayers opened this issue May 28, 2012 · 0 comments

Comments

@bradleyayers
Copy link
Owner

(.env)brad-mbp:foo brad$ ./manage.py test api
Creating test database for alias 'default'...

.F

======================================================================
FAIL: unittest.case.FunctionTestCase (bars__should_list_on_get)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/brad/work/foo/.env/lib/python2.7/site-packages/attest/collectors.py", line 97, in wrapper
    func(*args[:argc])
  File "/Users/brad/work/foo/foo/apps/api/v1/tests.py", line 393, in bars__should_list_on_get
    assert json.loads(response.content) == [
  File "/Users/brad/work/foo/.env/lib/python2.7/site-packages/attest/hook.py", line 135, in assert_hook
    raise TestFailure(value, msg)
TestFailure

----------------------------------------------------------------------
Ran 22 tests in 8.501s

FAILED (failures=3)
Destroying test database for alias 'default'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant