nose-devs/nose — Issue #286: Package Level setUp Doesn't Run
Author: jpellerin
Created: 2011-12-14 16:06:28+00:00
State: open

What steps will reproduce the problem?
1. Please see attached unit tests. if package __init__.py contains
"setup()" the function is run appropriately. If the function is named
"setUp()" it isn't run. The same is true for "tearDown()"

What is the expected output? What do you see instead?
setUp() and tearDown() functions defined at the package level run.

What version of the product are you using? On what operating system?
0.10.4 on Ubuntu Hardy

Please provide any additional information below.
The patch is in suite.py changing to:
moduleSetup = ('setup_module', 'setupModule', 'setUpModule', 'setup',
'setUp')
moduleTeardown = ('teardown_module', 'teardownModule', 'tearDownModule',
'teardown', 'tearDown')

Google Code Info:
Issue #: 211
Author: AgilityN...@gmail.com
Created On: 2008-10-16T18:30:29.000Z
Closed On: 2009-04-19T15:55:40.000Z