Commit ef0a7ac9 authored by Łukasz Nowak's avatar Łukasz Nowak

Start and stop Payment before delivering.

parent aef480a7
...@@ -331,6 +331,12 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -331,6 +331,12 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
def stepCancelPayment(self, sequence, **kw): def stepCancelPayment(self, sequence, **kw):
sequence['payment_transaction'].cancel() sequence['payment_transaction'].cancel()
def stepStartPayment(self, sequence, **kw):
sequence['payment_transaction'].start()
def stepStopPayment(self, sequence, **kw):
sequence['payment_transaction'].stop()
def stepDeliverPayment(self, sequence, **kw): def stepDeliverPayment(self, sequence, **kw):
sequence['payment_transaction'].deliver() sequence['payment_transaction'].deliver()
...@@ -463,6 +469,8 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -463,6 +469,8 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
CreatePastSmallPayment \ CreatePastSmallPayment \
Tic \ Tic \
StartPayment \
StopPayment \
DeliverPayment \ DeliverPayment \
Tic \ Tic \
Logout \ Logout \
......
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