예제 #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)