nose-devs/nose — Issue #132: Nose 1.1.2: Running nose with the coverage option results in Error
Author: jpellerin
Created: 2011-12-14 16:01:12+00:00
State: open

Hi!
This is Praveen Kumar working with Melange on their testing project. Running the tests with the coverage option results in an AttributeError as shown in the following traceback. The tests run fine with the cover.py in nose 1.0.0. I am not familiar with nose code base otherwise I would have submitted a patch to fix this.

Traceback (most recent call last):
File "bin/run-tests", line 42, in
tests.run.main()
File "/home/praveen/melangecopy/tests/run.py", line 174, in main
nose.main(addplugins=plugins)
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/core.py", line 118, in __init__
**extra_args)
File "/usr/local/lib/python2.5/unittest.py", line 768, in __init__
self.runTests()
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/core.py", line 197, in runTests
result = self.testRunner.run(self.test)
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/core.py", line 63, in run
result.printErrors()
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/result.py", line 110, in printErrors
self.config.plugins.report(self.stream)
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/plugins/manager.py", line 94, in __call__
return self.call(*arg, **kw)
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/plugins/manager.py", line 162, in simple
result = meth(*arg, **kw)
File "/home/praveen/melangecopy/eggs/nose-1.1.2-py2.5.egg/nose/plugins/cover.py", line 167, in report
self.coverInstance.save()
AttributeError: 'module' object has no attribute 'save'

Google Code Info:
Issue #: 443
Author: praveen9...@gmail.com
Created On: 2011-08-02T19:21:47.000Z
Closed On: