From b23657197ccf5e17724972cdda5d2fbf262f8a33 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 20 Nov 2014 15:15:28 +0100 Subject: [PATCH] [REF] 'document_extract_from_database' update comment in test file; --- .../tests/test_document_extract_from_database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', ''),