diff --git a/product/ERP5OOo/tests/testDms.py b/product/ERP5OOo/tests/testDms.py index c98547f6a7e1d64e17ba24ce95e93c38ffec57ae..89eb4a69e67251e8586d04ae7143a8bcce219185 100644 --- a/product/ERP5OOo/tests/testDms.py +++ b/product/ERP5OOo/tests/testDms.py @@ -501,15 +501,15 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional): self.tic() self.assertEquals('converted', document.getExternalProcessingState()) - # Clone document + # Clone a converted document container = document.getParentValue() clipboard = container.manage_copyObjects(ids=[document.getId()]) paste_result = container.manage_pasteObjects(cb_copy_data=clipboard) new_document = container[paste_result[0]['new_id']] - self.assertEquals('uploaded', new_document.getExternalProcessingState()) + self.assertEquals('converted', new_document.getExternalProcessingState()) get_transaction().commit() - self.assertEquals('uploaded', new_document.getExternalProcessingState()) + self.assertEquals('converted', new_document.getExternalProcessingState()) self.tic() self.assertEquals('converted', new_document.getExternalProcessingState())