コード例 #1
0
 def test_id__title(self):
     from collective.cropimage.interfaces import IID
     self.assertEqual(IID.get('id').title, u'ID')
コード例 #2
0
 def test_id_readonly(self):
     from collective.cropimage.interfaces import IID
     self.assertTrue(IID.get('id').readonly)
コード例 #3
0
 def test_id__instance(self):
     from zope.schema import ASCIILine
     from collective.cropimage.interfaces import IID
     self.assertIsInstance(IID.get('id'), ASCIILine)