示例#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 tearDown(cls):
     app = ZopeTestCase.app()
     plone = app.plone
     reg = BasePloneWickedRegistration(plone)
     reg.handle(unregister=True)
     txn.commit()
     ZopeTestCase.close(app)
示例#3
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)
示例#4
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)