okfn/annotator-store — Issue #29: nosetest failed (errors=10, failures=8)
Author: jasonsnider
Created: 2012-01-26 15:51:30+00:00
State: open

=== PIP FREEZE ===
CouchDB==0.8
Flask==0.6.1
Flask-WTF==0.5.2
Jinja2==2.6
WTForms==0.6.3
Werkzeug==0.8.2
iso8601==0.1.4
nose==1.0.0
wsgiref==0.1.2

=== TEST RESULTS ===

....FFF...................EEEEEEEEEEFFFFF
======================================================================
ERROR: tests.annotator.test_store.TestStore.test_cors_preflight
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_create
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_delete
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_delete_notfound
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_index
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_read
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_read_notfound
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_search
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_update
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
ERROR: tests.annotator.test_store.TestStore.test_update_notfound
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 371, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/www/annotator/tests/annotator/test_store.py", line 13, in setup
assert app.config['MOUNTPOINT'] == '', "MOUNTPOINT config option is incorrect for tests. should be ''"
AssertionError: MOUNTPOINT config option is incorrect for tests. should be ''

======================================================================
FAIL: tests.annotator.test_auth.TestAuth.test_verify_request
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_auth.py", line 68, in test_verify_request
assert auth.verify_request(request), "request should have been verified"
AssertionError: request should have been verified

======================================================================
FAIL: tests.annotator.test_auth.TestAuth.test_verify_request_mixedcase_headers
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_auth.py", line 80, in test_verify_request_mixedcase_headers
assert auth.verify_request(request), "request with mixed-case headers should have been verified"
AssertionError: request with mixed-case headers should have been verified

======================================================================
FAIL: tests.annotator.test_auth.TestAuth.test_verify_token
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_auth.py", line 53, in test_verify_token
assert auth.verify_token(tok, 'testAccount', 'alice', expiryTime), "token should have been verified"
AssertionError: token should have been verified

======================================================================
FAIL: tests.annotator.test_store.TestStoreAuth.test_get_allowed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_store.py", line 166, in test_get_allowed
assert response.status_code == 200, "GET should be allowed"
AssertionError: GET should be allowed

======================================================================
FAIL: tests.annotator.test_store.TestStoreAuth.test_reject_post_request
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_store.py", line 172, in test_reject_post_request
assert response.status_code == 401, "response should be 401 NOT AUTHORIZED"
AssertionError: response should be 401 NOT AUTHORIZED

======================================================================
FAIL: tests.annotator.test_store.TestStoreAuthz.test_read
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_store.py", line 202, in test_read
assert response.status_code == 401, response.status_code
AssertionError: 404

======================================================================
FAIL: tests.annotator.test_store.TestStoreAuthz.test_update
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_store.py", line 216, in test_update
assert response.status_code == 401, response.status_code
AssertionError: 404

======================================================================
FAIL: tests.annotator.test_store.TestStoreAuthz.test_update_change_permissions_not_allowed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/www/annotator/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/var/www/annotator/tests/annotator/test_store.py", line 235, in test_update_change_permissions_not_allowed
assert response.status_code == 401, response.status_code
AssertionError: 404

----------------------------------------------------------------------
Ran 41 tests in 4.976s

FAILED (errors=10, failures=8)