Package CMFSetup :: Package tests :: Module test_actions
[show private | hide private]
[frames | no frames]

Module CMFSetup.tests.test_actions

CMFSetup action provider export / import unit tests

$Id: test_actions.py 37135 2005-07-08 13:24:33Z tseaver $
Classes
ActionProvidersConfiguratorTests  
DummyActionsTool Folders are basic container objects that provide a standard interface for object management.
DummyMembershipTool Folders are basic container objects that provide a standard interface for object management.
DummyTool Folders are basic container objects that provide a standard interface for object management.
DummyUser Base class for objects that implicitly acquire attributes from containers
Test_exportActionProviders  
Test_importActionProviders  
_ActionSetup  

Function Summary
  test_suite()

Variable Summary
str _EMPTY_EXPORT = '<?xml version="1.0"?>\n<actions-tool>\n...
str _NORMAL_EXPORT = '<?xml version="1.0"?>\n<actions-tool>\...
str _REMOVE_IMPORT = '<?xml version="1.0"?>\n<actions-tool>\...

Variable Details

_EMPTY_EXPORT

Type:
str
Value:
'''<?xml version="1.0"?>
<actions-tool>
 <action-provider id="portal_actions">
 </action-provider>
</actions-tool>
'''                                                                    

_NORMAL_EXPORT

Type:
str
Value:
'''<?xml version="1.0"?>
<actions-tool>
 <action-provider id="portal_actions">
 </action-provider>
 <action-provider id="portal_foo">
  <action action_id="foo"
          title="Foo"
          url_expr="string:${object_url}/foo"
...                                                                    

_REMOVE_IMPORT

Type:
str
Value:
'''<?xml version="1.0"?>
<actions-tool>
 <action-provider id="portal_actions" remove="">
 </action-provider>
 <action-provider id="not_existing" remove="">
 </action-provider>
 <action-provider id="portal_bar" remove="">
 </action-provider>
...                                                                    

Generated by Epydoc 2.1 on Wed Nov 30 03:59:26 2005 http://epydoc.sf.net