loops/constraint/README.txt
helmutm 209f5402f2 more on constraints: provide editable StaticConstraint
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2264 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-12-22 16:24:42 +00:00

25 lines
851 B
Text

===============================================================
loops - Linked Objects for Organization and Processing Services
===============================================================
($Id$)
>>> from zope import component
>>> from zope.traversing.api import getName
Let's set up a loops site with basic and example concepts and resources.
>>> from zope.app.testing.setup import placefulSetUp, placefulTearDown
>>> site = placefulSetUp(True)
>>> from loops.tests.setup import TestSite
>>> t = TestSite(site)
>>> concepts, resources, views = t.setup()
Constraints - Restrict Predicates and Types for Concept and Resource Assignments
================================================================================
>>> from loops.constraint.base import StaticConstraint
>>> component.provideAdapter(StaticConstraint)