Changeset 15918 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 13 Jan 2020, 13:06:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py
r15664 r15918 50 50 def setup_container(self, container): 51 51 # set all attributes of a container 52 container.code = u'dp201 5'52 container.code = u'dp2017' 53 53 container.title = u'General Studies' 54 54 container.prefix = list(ApplicationTypeSource()(container))[0] 55 container.year = 201 555 container.year = 2017 56 56 container.application_category = list(AppCatSource()(container))[0] 57 57 container.description = u'Some Description\nwith linebreak\n' 58 58 container.description += u'<<de>>man spriht deutsh' 59 59 container.startdate = datetime.datetime( 60 201 5, 1, 1, 12, 0, 0, tzinfo=pytz.utc)60 2017, 1, 1, 12, 0, 0, tzinfo=pytz.utc) 61 61 container.enddate = datetime.datetime( 62 201 5, 1, 31, 23, 0, 0, tzinfo=pytz.utc)62 2017, 1, 31, 23, 0, 0, tzinfo=pytz.utc) 63 63 return container 64 64 … … 76 76 'strict_deadline,title,with_picture,year\r\n' 77 77 78 'basic,0.0,,dp201 5,'78 'basic,0.0,,dp2017,' 79 79 '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",' 80 '201 5-01-31 23:00:00+00:00#,0,,app,2015-01-01 12:00:00+00:00#,1,'81 'General Studies,1,201 5\r\n'80 '2017-01-31 23:00:00+00:00#,0,,app,2017-01-01 12:00:00+00:00#,1,' 81 'General Studies,1,2017\r\n' 82 82 ) 83 83 return
Note: See TracChangeset for help on using the changeset viewer.