Package: zope-testcase
Version: 0.9.0-1
Severity: normal

I use zope2.7 with a multi-product dir setup, i.e. both the product
paths (and libs) in /usr/lib/zope2.7 and /usr/lib/zope are searched 
and this is properly configured in zope.conf and working correctly 
in zope.

But when it comes to running tests, the test runner fails since it
cannot import ZopeTestCase.

This is because
- zope-testcase installs ZopeTestCase into /usr/lib/zope under the
  Testing library
- but there is also a Testing library in /usr/lib/zope2.7. This does not
  include ZopeTestCase but it is found (correctly) earlier than the
  Testing product in /usr/lib/zope. So, as a result, ZopeTestCase cannot
  be found.

As a workaround, I symlink /usr/lib/zope/lib/python/Testing/ZopeTestCase
to /usr/lib/zope2.7/lib/python/Testing/ZopeTestCase. But I think it
would be good to resolve this from the install scripts, for example
attept to do this symlink from postinst?

--

(ps. There is an other independent (path) problem with running tests 
through test.py in zope2.7 but this does not concern this product and 
I'll try to clear that one with the mainstream developers.)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-kt7
Locale: LANG=hu, LC_CTYPE=hu (charmap=ISO-8859-2) (ignored: LC_ALL set to 
hu_HU.ISO-8859-2)

Versions of packages zope-testcase depends on:
ii  zope                         3:2.6.2-6rb Open Source Web Application Server
ii  zope2.7 [zope]               2.7.5-1     Open Source Web Application Server

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to