ANN: PyUnitTestBrowser 002

Phlip phlip_cpp at my-deja.com
Fri May 31 18:33:29 EDT 2002


"Syver Enstad" wrote:

> There are still two failures, (one of them is maybe designed to fail
> to test that the bar is orange, I don't know).

The light is green the trap is clean.

> if aTest.getName() == 'test_getDoc':
>     source = aTest.getSourceLocation()
>     file = os.path.split(source[0])[1] # added line
>     source = (file, source[1])         # added line

I'l put this in, and look at the shell launch issue.

> Have you any hints on how to hack browser.py so that it run
> unittest.TestCase derived classes in a file without a suite method
> that generates it?

Someone sent me a patch that does this, so it's going in the next "release".

--
  Phlip





More information about the Python-list mailing list