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