[Dev] unit tests are broken

Morgen Sagen morgen at osafoundation.org
Fri Sep 10 20:58:47 PDT 2004


On Sep 10, 2004, at 6:56 PM, John Anderson wrote:

> I broke some unit tests with my recent ItemCollection checkin -- some 
> classes, which aren't used, except for the unit tests went away and I 
> need to update Ted's query unit test to reflect my changes to Query.
>
> Unfortunately, I'm not able to run unit tests on my machine becuase of 
> an apparent bug in the dll paths that hardhat sets up. So it may take 
> me awhile to track this down.
>
> John

I just tried running the unit tests on windows and OSX (with release 
and debug binaries) using hardhat, all cvs-updated, and saw no 
path-related errors.  The errors I saw were:

- application\tests\TestUuidOf.py failed (the NamedCollection kind no 
longer exists)
- parcels\osaf\contentmodel\tests\TestItemCollection.py failed 
('module' object has no attribute 'NamedCollection')
- parcels\osaf\framework\notifications\tests\TestNotifications.py 
failed ('NoneType' object has no attribute 'itsUUID')
- repository\query\tests\TestNotification.py failed ('module' object 
has no attribute 'NamedCollection')
- repository\query\tests\TestSimpleQueries.py failed (list indices must 
be integers)

~morgen



More information about the Dev mailing list