Commit 56cef33d authored by Alexandre Boeglin's avatar Alexandre Boeglin

* as the default behaviour when no script is defined is to return False,...

* as the default behaviour when no script is defined is to return False, ProductionOrderRule test script is no longer required
* other scripts were renamed to comply to naming conventions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17663 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4fdfab7
......@@ -21,6 +21,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
......@@ -33,6 +39,12 @@
<none/>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
......@@ -54,9 +66,7 @@
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple>
<string>ProductionOrderRule_testContextPortalType</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
......@@ -21,6 +21,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
......@@ -33,6 +39,12 @@
<none/>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
......@@ -55,7 +67,7 @@
<key> <string>test_method_id</string> </key>
<value>
<tuple>
<string>TransformationRule_test</string>
<string>SimulationMovement_testTransformationRule</string>
</tuple>
</value>
</item>
......
......@@ -21,6 +21,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
......@@ -33,6 +39,12 @@
<none/>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
......@@ -55,7 +67,7 @@
<key> <string>test_method_id</string> </key>
<value>
<tuple>
<string>TransformationSourcingRule_test</string>
<string>SimulationMovement_testTransformationSourcingRule</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>return context.getPortalType() in [\'Production Order\']\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>rule</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>rule</string>
<string>_getattr_</string>
<string>context</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ProductionOrderRule_testContextPortalType</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -185,7 +185,7 @@ return True\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TransformationRule_test</string> </value>
<value> <string>SimulationMovement_testTransformationRule</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -168,7 +168,7 @@ return True\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TransformationSourcingRule_test</string> </value>
<value> <string>SimulationMovement_testTransformationSourcingRule</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
51
\ No newline at end of file
52
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment