testify --coverage: it don't work
bukzor opened this issue · comments
Buck Evan commented
I have the distinct suspicion that nobody has used this code in years.
$ testify --coverage tests/auto_source_test.py
.........Traceback (most recent call last):
File "/usr/bin/testify", line 25, in <module>
test_program.main()
File "/usr/lib/python2.6/dist-packages/testify/test_program.py", line 350, in main
sys.exit(not TestProgram().run())
File "/usr/lib/python2.6/dist-packages/testify/test_program.py", line 314, in run
return runner.run()
File "/usr/lib/python2.6/dist-packages/testify/test_runner.py", line 208, in run
runnable()
File "/usr/lib/python2.6/dist-packages/testify/plugins/code_coverage.py", line 21, in run_test_case
code_coverage.start(test_case.__class__.__module__ + "." + test_case.__class__.__name__)
File "/usr/lib/python2.6/dist-packages/testify/utils/code_coverage.py", line 42, in start
assert not started
AssertionError
Coverage.py warning: Module old was never imported.
Anthony Sottile commented
I thought I deleted this already O_o
Anthony Sottile commented
Kill with fire
Buck Evan commented
I think you did, but I can't find the PR.
On Fri, Apr 24, 2015 at 6:44 PM, Anthony Sottile notifications@github.com
wrote:
Kill with fire
—
Reply to this email directly or view it on GitHub
#310 (comment).
Anthony Sottile commented