Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFEditions.tests.test_ModifierRegistryTool Namespace Reference

Classes

class  Dummy
class  SimpleModifierBase
class  SimpleModifier1
class  SimpleModifier2
class  SimpleModifier3
class  NonModifier
class  LoggingModifierBase
class  LoggingModifier_A
class  LoggingModifier_B
class  LoggingModifier_C
class  LoggingModifier_D
class  TestModifierRegistryTool

Functions

def deepcopy
def dictToString
def test_suite

Variables

list mlog = []
tuple loggingModifiers

Function Documentation

Definition at line 48 of file test_ModifierRegistryTool.py.

00048 
00049 def deepcopy(obj):
00050     return loads(dumps(obj, HIGHEST_PROTOCOL))
00051 deepcopy(Dummy())
00052 

Here is the caller graph for this function:

Definition at line 92 of file test_ModifierRegistryTool.py.

00092 
00093 def dictToString(dict):
00094     dict_list = []
00095     keys = [key for key in dict.keys()]
00096     keys.sort()
00097     for k in keys:
00098         dict_list.append("%s = %s" % (k, dict[k]))
00099     return ', '.join(dict_list)

Here is the caller graph for this function:

Definition at line 367 of file test_ModifierRegistryTool.py.

00367 
00368 def test_suite():
00369     suite = TestSuite()
00370     suite.addTest(makeSuite(TestModifierRegistryTool))
00371     return suite

Variable Documentation

Initial value:
00001 (
00002     LoggingModifier_A(),
00003     LoggingModifier_B(),
00004     LoggingModifier_C(),
00005     LoggingModifier_D(),
00006 )

Definition at line 145 of file test_ModifierRegistryTool.py.

Definition at line 90 of file test_ModifierRegistryTool.py.