Ejemplo n.º 1
0
 def setUp(self):
     PlacefulSetup.setUp(self)
     self.rootFolder = setup.buildSampleFolderTree()
     mgr = setup.createSiteManager(self.rootFolder)
     provideInterface(id, I1)
     provideInterface(id2, I2)
     ztapi.provideAdapter(None, IIntrospector, Introspector)
Ejemplo n.º 2
0
 def setUp(self):
     placelesssetup.setUp()
     provideInterface('zope.app.tests.test_introspector.I', I)
     provideInterface('zope.app.tests.test_introspector.I2', I2)
     provideInterface('zope.app.tests.test_introspector.I3', I3)
     provideInterface('zope.app.tests.test_introspector.I4', I4)
     provideInterface('zope.app.tests.test_introspector.M1', M1)
     provideInterface('zope.app.tests.test_introspector.M2', M2)
     provideInterface('zope.app.tests.test_introspector.M3', M3)
     provideInterface('zope.app.tests.test_introspector.M4', M4)
     provideInterface('zope.app.tests.test_introspector.ITestClass',
                      ITestClass)