Skip to content

Failing tests #52

@john2x

Description

@john2x

I just cloned the repo and ran nosetest . inside the tests directory.

Here's a stacktrace of the failure:

Traceback (most recent call last):
  File "/Users/john/.virtualenvs/collabspot/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/john/Projects/python/gae-sessions/tests/test_gaesessions.py", line 75, in check_correct_usage
    st.noop()
  File "/Users/john/Projects/python/gae-sessions/tests/SessionTester.py", line 232, in noop
    self.finish_request_and_check()
  File "/Users/john/Projects/python/gae-sessions/tests/SessionTester.py", line 151, in finish_request_and_check
    resp = self.app.post('/', dict(rpcs=b64encode(pickle.dumps(self.rpcs)), api_statuses=b64encode(pickle.dumps(self.api_statuses))))
  File "/Users/john/Projects/python/gae-sessions/tests/webtest/__init__.py", line 209, in post
    content_type=content_type)
  File "/Users/john/Projects/python/gae-sessions/tests/webtest/__init__.py", line 189, in _gen_request
    expect_errors=expect_errors)
  File "/Users/john/Projects/python/gae-sessions/tests/SessionTester.py", line 59, in do_request
    ret = super(AppWithMultipleClients, self).do_request(req, status, expect_errors)
  File "/Users/john/Projects/python/gae-sessions/tests/webtest/__init__.py", line 361, in do_request
    res.body
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webob-1.2.3/webob/response.py", line 361, in _body__get
    % (self.content_length, len(body))
AssertionError: Content-Length is different from actual app_iter length (0!=224)
    "Content-Length is different from actual app_iter length "
    "(%r!=%r)"
>>  % (self.content_length, len('KChscDAKTmFjY29weV9yZWcKX3JlY29uc3RydWN0b3IKcDEKKGNtYWluClNlc3Npb25TdGF0ZQpwMgpjX19idWlsdGluX18Kb2JqZWN0CnAzCk50cDQKUnA1CihkcDYKUydpbl9tYycKcDcKSTAwCnNTJ2luX2RiJwpwOApJMDAKc1MnZGF0YScKcDkKKGRwMTAKc1Mnc2lkJwpwMTEKTnNidHAxMgou'))

OS X 10.9 with AppEngine SDK 1.9.17 and Python 2.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions