[ZopeTestCase] failure of testPackageAsProduct on 2.10 branch

Bug #146646 reported by Andreas Jung
2
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Stefan H. Holek

Bug Description

zopectl test -s Testing

on the 2.10 branch fails:

File "/develop/sandboxes/Zope-2.10/Zope/lib/python/Testing/ZopeTestCase/zopedoctest/testPackageAsProduct.py", line 83, in Testing.ZopeTestCase.zopedoctest.testPackageAsProduct.testInstallPackage
Failed example:
    ZopeTestCase.installPackage('testpackage', quiet=True)
Exception raised:
    Traceback (most recent call last):
      File "/develop/sandboxes/Zope-2.10/Zope/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest Testing.ZopeTestCase.zopedoctest.testPackageAsProduct.testInstallPackage[12]>", line 1, in ?
        ZopeTestCase.installPackage('testpackage', quiet=True)
      File "/develop/sandboxes/Zope-2.10/Zope/lib/python/Testing/ZopeTestCase/ZopeLite.py", line 177, in installPackage
        for module, init_func in Products._packages_to_initialize:
    AttributeError: 'module' object has no attribute '_packages_to_initialize'

Andreas Jung (ajung)
Changed in zope2:
assignee: nobody → stefan-epy
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Stefan H. Holek (stefanholek) wrote :

Fixed breakage caused by backport of #2358.

Changed in zope2:
status: Confirmed → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.