Commit 718fb677 authored by Romain Courteaud's avatar Romain Courteaud

Pay accouting transaction to request

parent 1ff04c0e
......@@ -172,16 +172,6 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
self.assertEquals('account_module/bank', sale_line.getDestination())
self.assertEquals('sale_trade_condition_module/vifib_trade_condition', sale_line.getSpecialise())
def stepPayRegistrationPayment(self, sequence, **kw):
"""
"""
payment = self.portal.portal_catalog.getResultValue(
portal_type="Payment Transaction",
simulation_state="planned")
payment.confirm()
payment.start()
payment.stop()
def stepCheckPaidRegistrationAccounting(self, sequence, **kw):
"""
"""
......
......@@ -1548,6 +1548,8 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
TriggerBuild
Tic
PayRegistrationPayment
Tic
Logout
LoginWebUser
......
......@@ -859,6 +859,16 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
finally:
setSecurityManager(sm)
def stepPayRegistrationPayment(self, sequence, **kw):
"""
"""
payment = self.portal.portal_catalog.getResultValue(
portal_type="Payment Transaction",
simulation_state="planned")
payment.confirm()
payment.start()
payment.stop()
########################################
# Steps -- REMOTE_USER logins
########################################
......
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