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

Failing tests #52

Open
john2x opened this issue Jan 19, 2015 · 0 comments
Open

Failing tests #52

john2x opened this issue Jan 19, 2015 · 0 comments

Comments

@john2x
Copy link

john2x commented Jan 19, 2015

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

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