def afterSetUp(self): FeatureletsTestCase.afterSetUp(self) decl = """ <configure xmlns="http://namespaces.zope.org/zope" xmlns:browser="http://namespaces.zope.org/browser"> <browser:page for="topp.featurelets.tests.dummy.IDummyFeatureletInstalled" class="topp.featurelets.tests.dummy.DummyConfigView" permission="zope2.View" name="dummy_config" /> </configure> """ load_string(decl) self.featurelet = ConfigFeaturelet()
def afterSetUp(self): FeatureletsTestCase.afterSetUp(self) self.featurelet = ObjectsFeaturelet()