[TransWarp] PEAK: unittests do not run
Phillip J. Eby
pje at telecommunity.com
Thu Apr 17 12:11:16 EDT 2003
At 12:57 PM 4/17/03 +0200, Ulrich Eck wrote:
>i just updated peak (fresh checkout, removed all peak-packages
>from site-packages) and the unittests do not run on my machine.
>linux-2.4, python 2.2.2
>i get the following error when running:
>python setup.py test
>Traceback (most recent call last):
> File "setup.py", line 109, in ?
> obj = getattr(obj, part)
>AttributeError: 'module' object has no attribute 'test'
Okay, got that fixed. It was a typo in src/setup/common.py, introduced
when I factored that out into a separate file.
>python setup.py test -m peak.tests
>runs the testsuite but has 12 errors in the metamodel/uml,xmi stuff.
This I don't get; it doesn't happen on my machine.
Are you *installing* the metamodel stuff? That is, did you by any chance
set 'include_metamodels' to False in the setup.py?
More information about the PEAK