def test_STFileContent_IInlineObjectInterface(self): """IInlineObjectが実装されているかチェック""" stfile = getattr(self.document, 'stfile') from Products.COREBlog2.interfaces.IInlineObject import IInlineObject self.failUnless(IInlineObject.isImplementedBy(small))
def test_SmallContent_IInlineObjectInterface(self): """IInlineObjectが実装されているかチェック""" small = getattr(self.folder, 'small') from Products.COREBlog2.interfaces.IInlineObject import IInlineObject self.failUnless(IInlineObject.isImplementedBy(small))