[Moin-user] 1.6.0 unit test does not seem to work
tw-public at gmx.de
Mon Jan 28 07:57:34 EST 2008
> Anyone seen this error?
> File "/usr/local/wiki/moin-1.6.0/lib/python2.4/site-packages/MoinMoin/action/test.py", line 100, in runTest
> AttributeError: 'module' object has no attribute 'run'
You found some outdated piece of code. :)
In 1.5 we used python stdlib unittest and I guess that worked for that.
In 1.6 we use py.test and the tests got quite some changes because of
that. If you want to run the tests, you need to have py.test installed
and just run it from the directory above MoinMoin/ (IIRC, one test will
fail because I forgot to disable it for the release).
I'll have a look at the tests and test action later and either fix it or
More information about the Moin-user