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

Include tests in tarball and report failing testsuite #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomspur
Copy link

@tomspur tomspur commented Apr 25, 2014

Is tornadio2 compatible with tornado > 3?
Over here I just got these failures:

======================================================================
ERROR: tests.gen_test.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "./tornadio2/tests/gen_test.py", line 103, in test
    dummy.test('test')
  File "./tornadio2/tornadio2/gen.py", line 113, in wrapper
    run(args, kwargs)
  File "./tornadio2/tornadio2/gen.py", line 84, in run
    data.runner = SyncRunner(gen, finished)
  File "./tornadio2/tornadio2/gen.py", line 45, in __init__
    super(SyncRunner, self).__init__(gen)
TypeError: __init__() takes exactly 3 arguments (2 given)

======================================================================
ERROR: tests.gen_test.test_async
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "./tornadio2/tests/gen_test.py", line 112, in test_async
    dummy.test('test')
  File "./tornadio2/tornadio2/gen.py", line 113, in wrapper
    run(args, kwargs)
  File "./tornadio2/tornadio2/gen.py", line 84, in run
    data.runner = SyncRunner(gen, finished)
  File "./tornadio2/tornadio2/gen.py", line 45, in __init__
    super(SyncRunner, self).__init__(gen)
TypeError: __init__() takes exactly 3 arguments (2 given)

======================================================================
ERROR: tests.gen_test.test_sync_queue
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "./tornadio2/tests/gen_test.py", line 123, in test_sync_queue
    dummy.test('1')
  File "./tornadio2/tornadio2/gen.py", line 113, in wrapper
    run(args, kwargs)
  File "./tornadio2/tornadio2/gen.py", line 84, in run
    data.runner = SyncRunner(gen, finished)
  File "./tornadio2/tornadio2/gen.py", line 45, in __init__
    super(SyncRunner, self).__init__(gen)
TypeError: __init__() takes exactly 3 arguments (2 given)

======================================================================
ERROR: tests.gen_test.test_sync_queue_oor
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "./tornadio2/tests/gen_test.py", line 136, in test_sync_queue_oor
    dummy.test('1')
  File "./tornadio2/tornadio2/gen.py", line 113, in wrapper
    run(args, kwargs)
  File "./tornadio2/tornadio2/gen.py", line 84, in run
    data.runner = SyncRunner(gen, finished)
  File "./tornadio2/tornadio2/gen.py", line 45, in __init__
    super(SyncRunner, self).__init__(gen)
TypeError: __init__() takes exactly 3 arguments (2 given)

======================================================================
FAIL: tests.session_test.test_endpoint
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "./tornadio2/tests/session_test.py", line 247, in test_endpoint
    eq_(conn_test.request.arguments, dict(a=['123'], b=['456']))
AssertionError: {} != {'a': ['123'], 'b': ['456']}
-------------------- >> begin captured logging << --------------------
tornadio2.session: DEBUG: <<< 1::
tornadio2.session: DEBUG: >>> 1::/test?a=123&b=456
tornadio2.session: DEBUG: <<< 1::/test
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 17 tests in 0.063s

FAILED (errors=4, failures=1)

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

Successfully merging this pull request may close these issues.

1 participant