Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
Archetypes.tests.test_unicode.FakeTransformer Class Reference

List of all members.

Public Member Functions

def __init__
def convertTo

Public Attributes

 expected

Detailed Description

Definition at line 39 of file test_unicode.py.


Constructor & Destructor Documentation

Definition at line 40 of file test_unicode.py.

00040 
00041     def __init__(self, expected):
00042         self.expected = expected


Member Function Documentation

def Archetypes.tests.test_unicode.FakeTransformer.convertTo (   self,
  target_mimetype,
  orig,
  data = None,
  object = None,
  kwargs 
)

Definition at line 43 of file test_unicode.py.

00043 
00044     def convertTo(self, target_mimetype, orig, data=None, object=None, **kwargs):
00045         assert orig == self.expected, '????'
00046         if data is None:
00047             data = datastream('test')
00048         data.setData(orig)
00049         return data
00050 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 41 of file test_unicode.py.


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