Commit 18f8ae5e authored by Vincent Pelletier's avatar Vincent Pelletier

A few mode sequence cleanups, thanks to Julien for advice.

Also, remove some empty space at line end.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44641 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 97648cbc
...@@ -330,22 +330,31 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM ...@@ -330,22 +330,31 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM
sequence_list = SequenceList() sequence_list = SequenceList()
# define the sequence # define the sequence
sequence_list.addSequenceString("""
sequence_string = 'stepTic stepCheckObjects ' \ stepTic
'stepCreateMonetaryReception stepTic ' \ stepCheckObjects
'stepCheckInitialInventory stepCheckInitialContainerInventory ' \ stepCreateMonetaryReception
'stepCreateCashMovement stepTic ' \ stepTic
'stepCreateCashContainer stepTic ' \ stepCheckInitialInventory
'stepCheckCashDeliveryLine ' \ stepCheckInitialContainerInventory
'stepCheckCashContainer1 stepCheckCashContainer2 ' \ stepCreateCashMovement
'stepConfirmDocument stepTic ' \ stepTic
'stepStartDocument stepTic ' \ stepCreateCashContainer
'stepStopDocument stepTic ' \ stepTic
'stepDeliverDocument stepTic ' \ stepCheckCashDeliveryLine
'stepCheckFinalInventory stepCheckFinalContainerInventory' stepCheckCashContainer1
stepCheckCashContainer2
stepConfirmDocument
sequence_list.addSequenceString(sequence_string) stepTic
stepStartDocument
stepTic
stepStopDocument
stepTic
stepDeliverDocument
stepTic
stepCheckFinalInventory
stepCheckFinalContainerInventory
""")
# play the sequence # play the sequence
sequence_list.play(self) sequence_list.play(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