Skip to content

Instantly share code, notes, and snippets.

@hotsyk
Created March 24, 2009 18:02
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 hotsyk/84270 to your computer and use it in GitHub Desktop.
Save hotsyk/84270 to your computer and use it in GitHub Desktop.
$make
nosetests --with-coverage --cover-package=djangotest.registration djangotest/registration/
E.FEEEEEFFF
======================================================================
ERROR: djangotest.registration.test.TestRegistration.test_broken_profile
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 47, in test_broken_profile
code(200)
File "/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg/twill/commands.py", line 133, in code
should_be))
TwillAssertionError: code is 500 != 200
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/login/
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: djangotest.registration.test.TestRegistration.test_forgotten_password
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 57, in test_forgotten_password
code(200)
File "/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg/twill/commands.py", line 133, in code
should_be))
TwillAssertionError: code is 500 != 200
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/password/reset/
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: djangotest.registration.test.TestRegistration.test_incorrect_password
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 26, in test_incorrect_password
code(200)
File "/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg/twill/commands.py", line 133, in code
should_be))
TwillAssertionError: code is 500 != 200
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/login/
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: djangotest.registration.test.TestRegistration.test_incorrect_username
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 36, in test_incorrect_username
code(200)
File "/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg/twill/commands.py", line 133, in code
should_be))
TwillAssertionError: code is 500 != 200
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/login/
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: djangotest.registration.test.TestRegistration.test_invalid_activation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 100, in test_invalid_activation
code(200)
File "/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg/twill/commands.py", line 133, in code
should_be))
TwillAssertionError: code is 500 != 200
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/activate/non_existent_activation_key/
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: djangotest.registration.test.TestRegistration.test_login_success
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 17, in test_login_success
code(200)
File "/usr/lib/python2.5/site-packages/twill-0.9-py2.5.egg/twill/commands.py", line 133, in code
should_be))
TwillAssertionError: code is 500 != 200
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/login/
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: djangotest.registration.test.TestRegistration.test_duplicate_user
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 111, in test_duplicate_user
assert b.get_code() == 200
AssertionError:
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/register/
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: djangotest.registration.test.TestRegistration.test_non_matched_passwords
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 134, in test_non_matched_passwords
assert b.get_code() == 200
AssertionError:
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/register/
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: djangotest.registration.test.TestRegistration.test_registering
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 75, in test_registering
assert b.get_code() == 200
AssertionError:
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/register/
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: djangotest.registration.test.TestRegistration.test_unique_email
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/work/workspace/test_ass/djangotest/djangotest/registration/test.py", line 157, in test_unique_email
assert b.get_code() == 200
AssertionError:
-------------------- >> begin captured stdout << ---------------------
==> at http://127.0.0.1:8000/accounts/register/
--------------------- >> end captured stdout << ----------------------
Name Stmts Exec Cover Missing
-----------------------------------------------------------------------------------------------
djangotest.registration 0 0 100%
djangotest.registration.admin 6 6 100%
djangotest.registration.management 0 0 100%
djangotest.registration.management. 0 0 100%
djangotest.registration.management.commands 0 0 100%
djangotest.registration.management.commands.cleanupregistration 6 6 100%
djangotest.registration.models 69 36 52% 53-71, 112-138, 151-153, 231
-----------------------------------------------------------------------------------------------
TOTAL 81 48 59%
----------------------------------------------------------------------
Ran 11 tests in 31.587s
FAILED (errors=6, failures=4)
make: *** [test] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment