Changeset 12360 for main/waeup.ikoba/trunk/src/waeup/ikoba
- Timestamp:
- 1 Jan 2015, 21:55:26 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser.py
r12246 r12360 175 175 def form_fields(self): 176 176 return grok.AutoFields(self.context.form_fields_interface).omit( 177 'html_ dict', 'html_multilingual')177 'html_multilingual') 178 178 179 179 @property -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/export.py
r12287 r12360 44 44 'formatted_transition_date', 45 45 'translated_class_name', 46 'html_dict', 46 47 'connected_files', # Could be used to export file URLs 47 48 ] -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/tests/test_export.py
r12288 r12360 114 114 result = open(self.outfile, 'rb').read() 115 115 self.assertMatches( 116 'class_name,description,document_id,history, html_dict,'116 'class_name,description,document_id,history,' 117 117 'html_multilingual,state,title,users_with_local_roles\r\n' 118 118 'HTMLDocument,,DOC2,' 119 119 '[u\'2014-12-21 16:50:28 UTC - Document created by system\'],' 120 ' {},,created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"',120 ',created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"', 121 121 result 122 122 ) … … 129 129 result = open(self.outfile, 'rb').read() 130 130 self.assertMatches( 131 'class_name,description,document_id,history, html_dict,'131 'class_name,description,document_id,history,' 132 132 'html_multilingual,state,title,users_with_local_roles\r\n' 133 133 'HTMLDocument,,DOC2,' 134 134 '[u\'2014-12-21 16:50:28 UTC - Document created by system\'],' 135 ' {},,created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"',135 ',created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"', 136 136 result 137 137 )
Note: See TracChangeset for help on using the changeset viewer.