Hi Folks, Not sure how big this community here is, but at the suggestion of Ronny, here's a problem I'd like to "throw" at you:
Consider the following test for my library circuits (1): http://bitbucket.org/prologic/circuits-dev/src/tip/tests/app/test_daemon.py Notice how I have to externally call "python app.py <pidfile>" in order to make the test work ? I haven't found a way to integrate the app within the test function/module at all without errors flying widely. The problem with the above method (although works and passes) is that the no coverage data is picked up by the fact that "app.py" was executed and therefore parts (or all) of the Daemon Component (2) were actually covered. Anyone have any suggestions or workarounds here ? Thanks, cheers James 1. http://code.google.com/p/circuits/ 2. http://bitbucket.org/prologic/circuits-dev/src/1e4ebb87eafc/circuits/app/__init__.py#cl-20 -- -- "Problems are solved by method" _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev