예제 #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)