Пример #1
0
 def tearDown(cls):
     app = ZopeTestCase.app()
     plone = app.plone
     reg = BasePloneWickedRegistration(plone)
     reg.handle(unregister=True)
     txn.commit()
     ZopeTestCase.close(app)
Пример #2
0
 def setUp(cls):
     app = ZopeTestCase.app()
     plone = app.plone
     reg = BasePloneWickedRegistration(plone)
     reg.handle()
     # install the product
     qi = plone.portal_quickinstaller
     qi.installProduct('wicked.atcontent')
     txn.commit()
     ZopeTestCase.close(app)