okfn/annotator-store — Issue #28: AssertionError: request should have been verified
Author: papitha
Created: 2011-11-02 01:18:25+00:00
State: open

FAIL: tests.annotator.test_auth.TestAuth.test_verify_request
----------------------------------------------------------------------
Hi Team,

Could you pls help with fixing this error -

Traceback (most recent call last):
File "/home/tanya27/okfn-annotator-abd7cac/okfn-annotator-store-97aaff6/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/tanya27/okfn-annotator-abd7cac/okfn-annotator-store-97aaff6/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 "/home/tanya27/okfn-annotator-abd7cac/okfn-annotator-store-97aaff6/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/tanya27/okfn-annotator-abd7cac/okfn-annotator-store-97aaff6/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 "/home/tanya27/okfn-annotator-abd7cac/okfn-annotator-store-97aaff6/pyenv/local/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/tanya27/okfn-annotator-abd7cac/okfn-annotator-store-97aaff6/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

----------------------------------------------------------------------
Ran 41 tests in 7.160s

FAILED (failures=3)

Regards,
Papitha