mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Additional substitution of out-refactored assertion check
[FIX] Remove debug statement
This commit is contained in:
@@ -101,7 +101,6 @@ class TestPaymentRoundtrip(SingleTransactionCase):
|
|||||||
cr, uid, [], 1)['value'])
|
cr, uid, [], 1)['value'])
|
||||||
chart_setup_id = chart_setup_model.create(
|
chart_setup_id = chart_setup_model.create(
|
||||||
cr, uid, chart_values)
|
cr, uid, chart_values)
|
||||||
chart_setup_model.read(cr, uid, chart_setup_id)
|
|
||||||
chart_setup_model.execute(
|
chart_setup_model.execute(
|
||||||
cr, uid, [chart_setup_id])
|
cr, uid, [chart_setup_id])
|
||||||
year = datetime.now().strftime('%Y')
|
year = datetime.now().strftime('%Y')
|
||||||
@@ -300,9 +299,7 @@ class TestPaymentRoundtrip(SingleTransactionCase):
|
|||||||
cr, uid, [wizard_id], {
|
cr, uid, [wizard_id], {
|
||||||
'manual_payment_order_id': self.payment_order_id})
|
'manual_payment_order_id': self.payment_order_id})
|
||||||
statement_model.button_confirm_bank(cr, uid, [statement_id])
|
statement_model.button_confirm_bank(cr, uid, [statement_id])
|
||||||
state = reg('payment.order').read(
|
self.assert_payment_order_state('done')
|
||||||
cr, uid, self.payment_order_id, ['state'])['state']
|
|
||||||
assert state == 'done', 'Payment order does not go into state \'done\'.'
|
|
||||||
|
|
||||||
def check_reconciliations(self, reg, cr, uid):
|
def check_reconciliations(self, reg, cr, uid):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user