Commit e37b6302 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_interface_post: removes test for a feature which has been dropped

parent ceb907b6
...@@ -232,30 +232,6 @@ class TestInterfacePost(ERP5TypeLiveTestCase): ...@@ -232,30 +232,6 @@ class TestInterfacePost(ERP5TypeLiveTestCase):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
def test_onlyOneExportablePostIsExported(self):
"""
interface_post_workflow defines "exportable" and "exported" states, as for some portal types
we may stack all new objects, and regularly export them all at once. Ie, for letters, we can
gather them all in a unique PDF and send it to a printer.
As a user may send an Event, then rework on it, and re-send it, it will create 2 Posts for
the same Event. In that case, we want only one of these posts to be exported, and the others
become "unexportable".
"""
sequence_list = SequenceList()
# With 3 Letter Posts, we can trigger a race condition where 2 letters
# disallow export of each other, thus nothing is exported.
sequence_string = """
stepCreateLetterPost
stepCreateLetterPost
stepCreateLetterPost
stepTic
stepAllowExportOfAllLetterPost
stepTic
stepCheckOnlyOneLetterPostIsExported
"""
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def test_deliveredMailMessagePreviewDisplaysLatestInternetMessagePostData(self): def test_deliveredMailMessagePreviewDisplaysLatestInternetMessagePostData(self):
""" """
""" """
......
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