RE: testing with coverage.py problem

2007-07-16 Thread Ryan Ginstrom
> On Behalf Of Piotr Hrebieniuk > I've spent few hours and found nothing, so here's my question: > How can i run tests wrote by myself on a module, using coverage.py ? > Let's assume i have a module mymod.py which i want to test > with tests from file mytest.py (i.e. class inherited from > unitte

testing with coverage.py problem

2007-07-16 Thread Piotr Hrebieniuk
Hi there. I've spent few hours and found nothing, so here's my question: How can i run tests wrote by myself on a module, using coverage.py ? Let's assume i have a module mymod.py which i want to test with tests from file mytest.py (i.e. class inherited from unittest.TestCase). How to do that with

Re[2]: coverage.py problem

2007-03-21 Thread Orin
Thank you very much. Just reading the comments on that url, I found the reason of my problem. It was here: --- coverage.py +++ coverage.py @@ -464,6 +464,8 @@ def collect(self): cache_dir, local = os.path.split(self.cache) + if not cache_dir: #this two strings was upsent + cache_dir = "

Re: coverage.py problem

2007-03-19 Thread skip
Orin> I have a problem in using coverage.py module in my project: You might want to contact Ned Batchelder, the author: http://nedbatchelder.com/code/modules/coverage.html Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: coverage.py problem

2007-03-19 Thread Gabriel Genellina
En Mon, 19 Mar 2007 17:58:49 -0300, Orin <[EMAIL PROTECTED]> escribió: > Hi, > I have a problem in using coverage.py module in my project: > > ./cov -c > Traceback (most recent call last): > File "./cov", line 10, in ? > coverage.the_coverage.command_line(sys.argv[1:]) > File "/usr/lib/python2.4/

coverage.py problem

2007-03-19 Thread Orin
Hi, I have a problem in using coverage.py module in my project: ./cov -c Traceback (most recent call last): File "./cov", line 10, in ? coverage.the_coverage.command_line(sys.argv[1:]) File "/usr/lib/python2.4/site-packages/coverage.py", line 363, in command_lineself.collect() File "/usr/lib