Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbogears projects show no lines executed in controllers.py #12

Closed
nedbat opened this issue Jul 17, 2009 · 2 comments
Closed

Turbogears projects show no lines executed in controllers.py #12

nedbat opened this issue Jul 17, 2009 · 2 comments
Labels
bug Something isn't working

Comments

@nedbat
Copy link
Owner

nedbat commented Jul 17, 2009

Create an empty tg project, run the tests. controllers.py shows as not executed, though adding an assertion there proves that it is. Details in http://lists.idyll.org/pipermail/testing-in-python/2009-July/002077.html

Looks like DecoratorTools does some really funny stuff with the trace function and fumbles the coverage trace function in the process.


@nedbat
Copy link
Owner Author

nedbat commented Aug 9, 2009

The fix for this is in <<changeset a480f40d1fa4 (bb)>>, but you have to enable it with the --timid flag, or setenv COVERAGE_OPTIONS="--timid"

@nedbat nedbat closed this as completed Aug 9, 2009
@nedbat
Copy link
Owner Author

nedbat commented Feb 25, 2010

Removing version: 3.0.1 (automated comment)

@nedbat nedbat added major bug Something isn't working labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant