Commit 9fc60f14 authored by Łukasz Nowak's avatar Łukasz Nowak

- separate assertions for alive transitions in different tests


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40349 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90b4d23a
...@@ -2223,91 +2223,127 @@ return 1 ...@@ -2223,91 +2223,127 @@ return 1
def test_document_publication_workflow_Drawing_publish(self): def test_document_publication_workflow_Drawing_publish(self):
self._test_document_publication_workflow('Drawing', 'publish_action') self._test_document_publication_workflow('Drawing', 'publish_action')
def test_document_publication_workflow_Drawing_publish_alive(self):
self._test_document_publication_workflow('Drawing', self._test_document_publication_workflow('Drawing',
'publish_alive_action') 'publish_alive_action')
def test_document_publication_workflow_Drawing_release(self): def test_document_publication_workflow_Drawing_release(self):
self._test_document_publication_workflow('Drawing', 'release_action') self._test_document_publication_workflow('Drawing', 'release_action')
def test_document_publication_workflow_Drawing_release_alive(self):
self._test_document_publication_workflow('Drawing', self._test_document_publication_workflow('Drawing',
'release_alive_action') 'release_alive_action')
def test_document_publication_workflow_Drawing_share(self): def test_document_publication_workflow_Drawing_share(self):
self._test_document_publication_workflow('Drawing', 'share_action') self._test_document_publication_workflow('Drawing', 'share_action')
def test_document_publication_workflow_Drawing_share_alive(self):
self._test_document_publication_workflow('Drawing', self._test_document_publication_workflow('Drawing',
'share_alive_action') 'share_alive_action')
def test_document_publication_workflow_File_publish(self): def test_document_publication_workflow_File_publish(self):
self._test_document_publication_workflow('File', 'publish_action') self._test_document_publication_workflow('File', 'publish_action')
def test_document_publication_workflow_File_publish_alive(self):
self._test_document_publication_workflow('File', self._test_document_publication_workflow('File',
'publish_alive_action') 'publish_alive_action')
def test_document_publication_workflow_File_release(self): def test_document_publication_workflow_File_release(self):
self._test_document_publication_workflow('File', 'release_action') self._test_document_publication_workflow('File', 'release_action')
def test_document_publication_workflow_File_release_alive(self):
self._test_document_publication_workflow('File', self._test_document_publication_workflow('File',
'release_alive_action') 'release_alive_action')
def test_document_publication_workflow_File_share(self): def test_document_publication_workflow_File_share(self):
self._test_document_publication_workflow('File', 'share_action') self._test_document_publication_workflow('File', 'share_action')
def test_document_publication_workflow_File_share_alive(self):
self._test_document_publication_workflow('File', self._test_document_publication_workflow('File',
'share_alive_action') 'share_alive_action')
def test_document_publication_workflow_PDF_publish(self): def test_document_publication_workflow_PDF_publish(self):
self._test_document_publication_workflow('PDF', 'publish_action') self._test_document_publication_workflow('PDF', 'publish_action')
def test_document_publication_workflow_PDF_publish_alive(self):
self._test_document_publication_workflow('PDF', self._test_document_publication_workflow('PDF',
'publish_alive_action') 'publish_alive_action')
def test_document_publication_workflow_PDF_release(self): def test_document_publication_workflow_PDF_release(self):
self._test_document_publication_workflow('PDF', 'release_action') self._test_document_publication_workflow('PDF', 'release_action')
def test_document_publication_workflow_PDF_release_alive(self):
self._test_document_publication_workflow('PDF', self._test_document_publication_workflow('PDF',
'release_alive_action') 'release_alive_action')
def test_document_publication_workflow_PDF_share(self): def test_document_publication_workflow_PDF_share(self):
self._test_document_publication_workflow('PDF', 'share_action') self._test_document_publication_workflow('PDF', 'share_action')
def test_document_publication_workflow_PDF_share_alive(self):
self._test_document_publication_workflow('PDF', self._test_document_publication_workflow('PDF',
'share_alive_action') 'share_alive_action')
def test_document_publication_workflow_Presentation_publish(self): def test_document_publication_workflow_Presentation_publish(self):
self._test_document_publication_workflow('Presentation', 'publish_action') self._test_document_publication_workflow('Presentation', 'publish_action')
def test_document_publication_workflow_Presentation_publish_alive(self):
self._test_document_publication_workflow('Presentation', self._test_document_publication_workflow('Presentation',
'publish_alive_action') 'publish_alive_action')
def test_document_publication_workflow_Presentation_release(self): def test_document_publication_workflow_Presentation_release(self):
self._test_document_publication_workflow('Presentation', 'release_action') self._test_document_publication_workflow('Presentation', 'release_action')
def test_document_publication_workflow_Presentation_release_alive(self):
self._test_document_publication_workflow('Presentation', self._test_document_publication_workflow('Presentation',
'release_alive_action') 'release_alive_action')
def test_document_publication_workflow_Presentation_share(self): def test_document_publication_workflow_Presentation_share(self):
self._test_document_publication_workflow('Presentation', 'share_action') self._test_document_publication_workflow('Presentation', 'share_action')
def test_document_publication_workflow_Presentation_share_alive(self):
self._test_document_publication_workflow('Presentation', self._test_document_publication_workflow('Presentation',
'share_alive_action') 'share_alive_action')
def test_document_publication_workflow_Spreadsheet_publish(self): def test_document_publication_workflow_Spreadsheet_publish(self):
self._test_document_publication_workflow('Spreadsheet', 'publish_action') self._test_document_publication_workflow('Spreadsheet', 'publish_action')
def test_document_publication_workflow_Spreadsheet_publish_alive(self):
self._test_document_publication_workflow('Spreadsheet', self._test_document_publication_workflow('Spreadsheet',
'publish_alive_action') 'publish_alive_action')
def test_document_publication_workflow_Spreadsheet_release(self): def test_document_publication_workflow_Spreadsheet_release(self):
self._test_document_publication_workflow('Spreadsheet', 'release_action') self._test_document_publication_workflow('Spreadsheet', 'release_action')
def test_document_publication_workflow_Spreadsheet_release_alive(self):
self._test_document_publication_workflow('Spreadsheet', self._test_document_publication_workflow('Spreadsheet',
'release_alive_action') 'release_alive_action')
def test_document_publication_workflow_Spreadsheet_share(self): def test_document_publication_workflow_Spreadsheet_share(self):
self._test_document_publication_workflow('Spreadsheet', 'share_action') self._test_document_publication_workflow('Spreadsheet', 'share_action')
def test_document_publication_workflow_Spreadsheet_share_alive(self):
self._test_document_publication_workflow('Spreadsheet', self._test_document_publication_workflow('Spreadsheet',
'share_alive_action') 'share_alive_action')
def test_document_publication_workflow_Text_publish(self): def test_document_publication_workflow_Text_publish(self):
self._test_document_publication_workflow('Text', 'publish_action') self._test_document_publication_workflow('Text', 'publish_action')
def test_document_publication_workflow_Text_publish_alive(self):
self._test_document_publication_workflow('Text', self._test_document_publication_workflow('Text',
'publish_alive_action') 'publish_alive_action')
def test_document_publication_workflow_Text_release(self): def test_document_publication_workflow_Text_release(self):
self._test_document_publication_workflow('Text', 'release_action') self._test_document_publication_workflow('Text', 'release_action')
def test_document_publication_workflow_Text_release_alive(self):
self._test_document_publication_workflow('Text', self._test_document_publication_workflow('Text',
'release_alive_action') 'release_alive_action')
def test_document_publication_workflow_Text_share(self): def test_document_publication_workflow_Text_share(self):
self._test_document_publication_workflow('Text', 'share_action') self._test_document_publication_workflow('Text', 'share_action')
def test_document_publication_workflow_Text_share_alive(self):
self._test_document_publication_workflow('Text', self._test_document_publication_workflow('Text',
'share_alive_action') 'share_alive_action')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment