nose-devs/nose — Issue #414: teardown_class is called while it shouldn't if multiple tests is specified
Author: jpellerin
Created: 2011-12-14 16:10:43+00:00
State: open

What steps will reproduce the problem?
1. create an empty dir
2. download the attached test.py and save it under this dir
3. nosetests -v
4. the previous command will successfully run 4 tests
5. nosetests test:testa.test1 test:testa.test2 test:testb.test1 test:testb.test2
6. failure:
...F
======================================================================
FAIL: test.testb.test2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/tp/nose-bug/test.py", line 11, in test2
assert self.inited
AssertionError

----------------------------------------------------------------------
Ran 4 tests in 0.003s

FAILED (failures=1)

What is the expected output? What do you see instead?
it should all pass, not throwing that assertion error

What version of the product are you using? On what operating system?
1.0.0

Google Code Info:
Issue #: 408
Author: liucou...@gmail.com
Created On: 2011-03-30T00:34:08.000Z
Closed On: 2011-04-01T17:57:31.000Z