diff --git a/document_extract_from_database/tests/test_document_extract_from_database.py b/document_extract_from_database/tests/test_document_extract_from_database.py index 6de3b9232..bb2a51ee7 100644 --- a/document_extract_from_database/tests/test_document_extract_from_database.py +++ b/document_extract_from_database/tests/test_document_extract_from_database.py @@ -64,8 +64,8 @@ class TestDocumentExtractFromDatabase(TransactionCase): data_after = self.ia_obj.browse(cr, uid, ia_id).datas # Test if datas have not changed - # FIXME: After rewriting document, there is \n in 'datas' field - # The file is still readable. + # Note: Replace \n char by nothing, because datas field are different + # when ir_attachement is in Database or in File System ia = self.ia_obj.browse(cr, uid, ia_id) self.assertEqual( data_before, data_after.replace('\n', ''),