Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(1)  |  Import(1)

src/s/c/sc.contentrules.movebyattribute-0.5/sc/contentrules/movebyattribute/tests/test_action_movebyattribute.py   sc.contentrules.movebyattribute(Download)
from plone.app.contentrules.rule import Rule
 
from sc.contentrules.movebyattribute.tests.base import TestCase
 
from zope.component.interfaces import IObjectEvent
class TestMoveByAttributeAction(TestCase):
 
    def afterSetUp(self):
        self.loginAsPortalOwner()
        self.portal.invokeFactory('Folder', 'target')