Commit d9c869bb authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

script is now forbidden as identifier for PythonScript

parent 9a95a8d5
...@@ -244,7 +244,7 @@ class HBTreeFolder2Tests(ERP5TypeTestCase): ...@@ -244,7 +244,7 @@ class HBTreeFolder2Tests(ERP5TypeTestCase):
h = HBTreeFolder2() h = HBTreeFolder2()
# whatever value, as long as it has an __of__ # whatever value, as long as it has an __of__
h._setOb('foo', HBTreeFolder2()) h._setOb('foo', HBTreeFolder2())
script = PythonScript('script') script = PythonScript('test_script')
script.ZPythonScript_edit('h', dedent(""" script.ZPythonScript_edit('h', dedent("""
for dummy in h.objectIds(): for dummy in h.objectIds():
pass pass
......
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