Did I find the right examples for you? yes no

All Samples(4)  |  Call(1)  |  Derive(0)  |  Import(3)

src/p/r/Products.CompoundField-1.1/Products/CompoundField/tests/testCompoundField.py   Products.CompoundField(Download)
from Products.CompoundField.CompoundWidget import CompoundWidget
from Products.CompoundField.CompoundField import CompoundField
from Products.CompoundField.testClasses.XPoint import XPoint
 
##code-section module-beforeclass #fill in your manual code here
        self.assertEqual(pntx.getEditAccessor(ob)(),1)
 
        ob.update(point2=XPoint(-1,0))
        self.assertEqual(ob.getPoint2(),XPoint(-1,0))
 

src/p/r/Products.CompoundField-1.1/Products/CompoundField/testClasses/XPointField.py   Products.CompoundField(Download)
from Products.CompoundField.CompoundField import CompoundField
from Products.CompoundField.testClasses.XPointWidget import XPointWidget
from Products.CompoundField.testClasses.XPoint import XPoint
from Products.CMFDynamicViewFTI.browserdefault import BrowserDefaultMixin
 

src/p/r/Products.CompoundField-1.1/Products/CompoundField/testClasses/XBox.py   Products.CompoundField(Download)
 
from zope.interface import implements
from Products.CompoundField.testClasses.XPoint import XPoint
from Products.CMFDynamicViewFTI.browserdefault import BrowserDefaultMixin