Changeset 9289


Ignore:
Timestamp:
4 Oct 2012, 10:38:59 (12 years ago)
Author:
uli
Message:

Fix nasty bug that leads to remaining temporary dirs when using
KofaUnitTestLayer?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/testing.py

    r8186 r9289  
    211211    shutil.rmtree(path)
    212212    gsm = getGlobalSiteManager()
    213     gsm.unregisterUtility(conf)
     213    gsm.unregisterUtility(conf, IDataCenterConfig)
    214214    return
    215215
     
    258258    @classmethod
    259259    def tearDown(cls):
     260        teardown_datacenter_conf()
    260261        cleanUpZope(None)
    261         teardown_datacenter_conf()
    262262        return
    263263
Note: See TracChangeset for help on using the changeset viewer.