nose-devs/nose — Issue #130: multiprocess plugin and generator fixtures
Author: jpellerin
Created: 2011-12-14 16:01:09+00:00
State: closed

This test fails pretty spectacularly, and I believe it touches on the core of the problem that is blocking Kumar form making the 1.0.1 release.

--Buck

$ python2.7 bin/nosetests --processes=1 functional_tests/test_generator_fixtures.py
.....FFFFF
======================================================================
FAIL: test_generator_fixtures.check(0,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bgolemon/trees/multiprocessing/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/bgolemon/trees/multiprocessing/functional_tests/test_generator_fixtures.py", line 27, in check
eq_(called, expect)
File "/home/bgolemon/trees/multiprocessing/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: ['outer_setup', 'outer_teardown', 'inner_setup'] != ['outer_setup', 'inner_setup']

======================================================================
FAIL: test_generator_fixtures.check(1,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bgolemon/trees/multiprocessing/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/bgolemon/trees/multiprocessing/functional_tests/test_generator_fixtures.py", line 27, in check
eq_(called, expect)
File "/home/bgolemon/trees/multiprocessing/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: ['outer_setup', 'outer_teardown', 'inner_setup', 'inner_teardown', 'inner_setup'] != ['outer_setup', 'inner_setup', 'inner_teardown', 'inner_setup']

======================================================================
FAIL: test_generator_fixtures.check(2,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bgolemon/trees/multiprocessing/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/bgolemon/trees/multiprocessing/functional_tests/test_generator_fixtures.py", line 27, in check
eq_(called, expect)
File "/home/bgolemon/trees/multiprocessing/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: ['outer_setup', 'outer_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup'] != ['outer_setup', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup']

======================================================================
FAIL: test_generator_fixtures.check(3,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bgolemon/trees/multiprocessing/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/bgolemon/trees/multiprocessing/functional_tests/test_generator_fixtures.py", line 27, in check
eq_(called, expect)
File "/home/bgolemon/trees/multiprocessing/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: ['outer_setup', 'outer_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup'] != ['outer_setup', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup']

======================================================================
FAIL: test_generator_fixtures.check(4,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bgolemon/trees/multiprocessing/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/home/bgolemon/trees/multiprocessing/functional_tests/test_generator_fixtures.py", line 27, in check
eq_(called, expect)
File "/home/bgolemon/trees/multiprocessing/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: ['outer_setup', 'outer_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup'] != ['outer_setup', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup', 'inner_teardown', 'inner_setup']

----------------------------------------------------------------------
Ran 10 tests in 0.154s

FAILED (failures=5)

Google Code Info:
Issue #: 416
Author: workitha...@gmail.com
Created On: 2011-05-05T05:32:42.000Z
Closed On: 2011-11-05T22:01:21.000Z