Commit 0cb64d8e authored by Nicolas Delaby's avatar Nicolas Delaby

Provide DateTime object to start_date like DateTime field does

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36237 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed1b8939
......@@ -597,8 +597,9 @@ class TestFormPrintoutAsODT(TestFormPrintoutMixin):
request = self.app.REQUEST
request['here'] = test1
from DateTime import DateTime
test1.foo_1.setTitle('foo_title_7')
test1.foo_1.setStartDate('2009-04-20')
test1.foo_1.setStartDate(DateTime(2009,4,20))
message = listbox.ListBox_setPropertyList(
field_list_method = 'objectValues',
field_portal_types = 'Foo Line | Foo Line',
......
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