From f7a7a30f5cc7d868e56dffcf85910d4a933f983c Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Tue, 25 Mar 2014 14:23:51 +0100 Subject: [PATCH] [FIX] PEP8 --- account_banking_tests/tests/test_payment_roundtrip.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/account_banking_tests/tests/test_payment_roundtrip.py b/account_banking_tests/tests/test_payment_roundtrip.py index 08004db2a..a3c8223f4 100644 --- a/account_banking_tests/tests/test_payment_roundtrip.py +++ b/account_banking_tests/tests/test_payment_roundtrip.py @@ -259,7 +259,8 @@ class TestPaymentRoundtrip(SingleTransactionCase): reg('payment.line').search( cr, uid, [ ('move_line_id.invoice', '=', self.invoice_ids[0]), - ('communication', '=', 'INV1'), ('state', '=', 'normal'), + ('communication', '=', 'INV1'), + ('state', '=', 'normal'), ], context=context), 'No payment line created from invoice 1 or with the wrong ' 'communication') @@ -267,11 +268,12 @@ class TestPaymentRoundtrip(SingleTransactionCase): reg('payment.line').search( cr, uid, [ ('move_line_id.invoice', '=', self.invoice_ids[1]), - ('communication', '=', 'STR2'), ('state', '=', 'structured'), + ('communication', '=', 'STR2'), + ('state', '=', 'structured'), ], context=context), 'No payment line created from invoice 2 or with the wrong ' 'communication') - + wf_service = netsvc.LocalService('workflow') wf_service.trg_validate( uid, 'payment.order', self.payment_order_id, 'open', cr)