Commit 158c2e75 authored by Aurel's avatar Aurel Committed by Jérome Perrin

script is now forbidden as identifier for PythonScript

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