Changeset 12365 for main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Timestamp:
- 2 Jan 2015, 10:09:50 (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
r12360 r12365 175 175 def form_fields(self): 176 176 return grok.AutoFields(self.context.form_fields_interface).omit( 177 'html_ multilingual')177 'html_dict', 'html_multilingual') 178 178 179 179 @property -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/export.py
r12360 r12365 44 44 'formatted_transition_date', 45 45 'translated_class_name', 46 'html_dict',47 46 'connected_files', # Could be used to export file URLs 48 47 ] -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/tests/test_export.py
r12360 r12365 114 114 result = open(self.outfile, 'rb').read() 115 115 self.assertMatches( 116 'class_name,description,document_id,history, '116 'class_name,description,document_id,history,html_dict,' 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, '131 'class_name,description,document_id,history,html_dict,' 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.