def test_implements_interface(self): klass = resolvetree.ResolveTree self.assertTrue(ISection.implementedBy(klass), 'Class %s does not implement ISection.' % str(klass)) verifyClass(ISection, klass) self.assertTrue(ISectionBlueprint.providedBy(klass), 'Class %s does not provide ISectionBlueprint.' % str(klass)) verifyObject(ISectionBlueprint, klass)
def test_implements_interface(self): klass = translate.Translate self.assertTrue(ISection.implementedBy(klass), 'Class %s does not implement ISection.' % str(klass)) verifyClass(ISection, klass) self.assertTrue( ISectionBlueprint.providedBy(klass), 'Class %s does not provide ISectionBlueprint.' % (str(klass))) verifyObject(ISectionBlueprint, klass)
def test_implements_interface(self): klass = singleitemsource.SingleItemSource self.assertTrue(ISection.implementedBy(klass), 'Class %s does not implement ISection.' % str(klass)) verifyClass(ISection, klass) self.assertTrue(ISectionBlueprint.providedBy(klass), 'Class %s does not provide ISectionBlueprint.' % ( str(klass))) verifyObject(ISectionBlueprint, klass)
def test_implements_interface(self): klass = translate.Translate self.assertTrue(ISection.implementedBy(klass), 'Class %s does not implement ISection.' % str(klass)) verifyClass(ISection, klass) self.assertTrue(ISectionBlueprint.providedBy(klass), 'Class %s does not provide ISectionBlueprint.' % ( str(klass))) verifyObject(ISectionBlueprint, klass)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(ConstructorSection)) verifyClass(ISection, ConstructorSection) self.assertTrue(ISectionBlueprint.providedBy(ConstructorSection)) verifyObject(ISectionBlueprint, ConstructorSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(ResolveGUIDSection)) verifyClass(ISection, ResolveGUIDSection) self.assertTrue(ISectionBlueprint.providedBy(ResolveGUIDSection)) verifyObject(ISectionBlueprint, ResolveGUIDSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(FileLoaderSection)) verifyClass(ISection, FileLoaderSection) self.assertTrue(ISectionBlueprint.providedBy(FileLoaderSection)) verifyObject(ISectionBlueprint, FileLoaderSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(ConstructorSection)) verifyClass(ISection, ConstructorSection) self.assertTrue(ISectionBlueprint.providedBy(ConstructorSection)) verifyObject(ISectionBlueprint, ConstructorSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(BundleSourceSection)) verifyClass(ISection, BundleSourceSection) self.assertTrue(ISectionBlueprint.providedBy(BundleSourceSection)) verifyObject(ISectionBlueprint, BundleSourceSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(BundleSourceSection)) verifyClass(ISection, BundleSourceSection) self.assertTrue(ISectionBlueprint.providedBy(BundleSourceSection)) verifyObject(ISectionBlueprint, BundleSourceSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(FileLoaderSection)) verifyClass(ISection, FileLoaderSection) self.assertTrue(ISectionBlueprint.providedBy(FileLoaderSection)) verifyObject(ISectionBlueprint, FileLoaderSection)
def test_implements_interface(self): self.assertTrue(ISection.implementedBy(ResolveGUIDSection)) verifyClass(ISection, ResolveGUIDSection) self.assertTrue(ISectionBlueprint.providedBy(ResolveGUIDSection)) verifyObject(ISectionBlueprint, ResolveGUIDSection)