On 10/29/07, Roché Compaan <[EMAIL PROTECTED]> wrote:
> The tests are written as unit tests and are run with a testrunner
> script. The project uses buildout to make it easy to get going.
> Unfortunately installing it with buildout on some systems seems to lead
> to weird import errors that I can't explain so I would appreciate it if
> somebody with buildout fu can look at it.

When you run the test script, it looks for tests in in the directory
where you have the egg that you are testing. Since this is your case
is ".", it finds the tests in all the eggs, and tries to run them too,
which fails.

I've moved the source down into a subdirectory "src" which solves that
problem. Scream at me if you want me to undo those changes. :-) (it's
revision 52638.)

Oh, and I removed collective.zodbbench.egg-info. You don't need to
check it in, buildout rebuilds it.

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to