Commit 438b8fb1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: 'script' is not a valid id for script in recent PythonScripts.

parent 6ded2571
......@@ -285,8 +285,8 @@ class TestERP5Type(ERP5TypeTestCase, LogInterceptor):
def test_objectValues(self):
person = self.portal.person_module.newContent(portal_type='Person')
createZODBPythonScript(person, 'script', '', '')
script = person['script']
createZODBPythonScript(person, 'test_script', '', '')
script = person['test_script']
self.assertIn(script, person.objectValues())
self.assertNotIn(script, person.objectValues(portal_type='Person'))
......
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