Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
Marshall.tests.test_predicate.PredicateTest Class Reference
Inheritance diagram for Marshall.tests.test_predicate.PredicateTest:
Inheritance graph
[legend]
Collaboration diagram for Marshall.tests.test_predicate.PredicateTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def get
def reverse

Public Attributes

 qi
 tool

Detailed Description

Definition at line 39 of file test_predicate.py.


Member Function Documentation

Definition at line 41 of file test_predicate.py.

00041 
00042     def afterSetUp(self):
00043         super(PredicateTest, self).afterSetUp()
00044         self.loginPortalOwner()
00045         self.qi = self.portal.portal_quickinstaller
00046         self.qi.installProduct('Marshall')
00047         self.tool = getToolByName(self.portal, tool_id)

Here is the call graph for this function:

def Marshall.tests.test_predicate.PredicateTest.get (   self,
  obj,
  kw 
)

Definition at line 48 of file test_predicate.py.

00048 
00049     def get(self, obj, **kw):
00050         return self.tool.getMarshallersFor(obj, **kw)

Here is the caller graph for this function:

Definition at line 51 of file test_predicate.py.

00051 
00052     def reverse(self):
00053         ids = self.tool.objectIds()
00054         for pos, id in enumerate(ids):
00055             self.tool.moveObjectToPosition(id, len(ids) - pos)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 44 of file test_predicate.py.

Definition at line 46 of file test_predicate.py.


The documentation for this class was generated from the following file: