From 46ee88304e17f5e26246febc0a401358906524e2 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sat, 15 Nov 2014 18:16:27 +0100 Subject: [PATCH] [FIX] 'pos_order_pricelist_change' flake8; --- pos_order_pricelist_change/__openerp__.py | 2 +- .../tests/pos_order_pricelist_change.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pos_order_pricelist_change/__openerp__.py b/pos_order_pricelist_change/__openerp__.py index 9162e63e..e6a41954 100644 --- a/pos_order_pricelist_change/__openerp__.py +++ b/pos_order_pricelist_change/__openerp__.py @@ -46,7 +46,7 @@ Copyright, Authors and Licence: 'license': 'AGPL-3', 'depends': [ 'point_of_sale', - ], + ], 'data': [ 'view/view.xml', ], diff --git a/pos_order_pricelist_change/tests/pos_order_pricelist_change.py b/pos_order_pricelist_change/tests/pos_order_pricelist_change.py index c8f9861d..2431a5d8 100644 --- a/pos_order_pricelist_change/tests/pos_order_pricelist_change.py +++ b/pos_order_pricelist_change/tests/pos_order_pricelist_change.py @@ -53,7 +53,7 @@ class TestPosOrderPricelistChange(TransactionCase): # Opening Session self.ps_obj.create(cr, uid, { 'config_id': pc_id, - }) + }) # create Pos Order po_id = self.po_obj.create(cr, uid, { @@ -63,7 +63,7 @@ class TestPosOrderPricelistChange(TransactionCase): 'product_id': pp_usb_id, 'qty': 1, }]], - }) + }) pp_usb = self.pp_obj.browse(cr, uid, pp_usb_id) po = self.po_obj.browse(cr, uid, po_id) @@ -91,7 +91,7 @@ class TestPosOrderPricelistChange(TransactionCase): # Opening Session self.ps_obj.create(cr, uid, { 'config_id': pc_id, - }) + }) # create Pos Order po_id = self.po_obj.create(cr, uid, { @@ -101,7 +101,7 @@ class TestPosOrderPricelistChange(TransactionCase): 'product_id': pp_usb_id, 'qty': 1, }]], - }) + }) pp_usb = self.pp_obj.browse(cr, uid, pp_usb_id) po = self.po_obj.browse(cr, uid, po_id) @@ -128,7 +128,7 @@ class TestPosOrderPricelistChange(TransactionCase): # Opening Session self.ps_obj.create(cr, uid, { 'config_id': pc_id, - }) + }) # create Pos Order po_id = self.po_obj.create(cr, uid, { @@ -137,7 +137,7 @@ class TestPosOrderPricelistChange(TransactionCase): 'product_id': pp_usb_id, 'qty': 1, }]], - }) + }) po = self.po_obj.browse(cr, uid, po_id) res = self.po_obj.onchange_pricelist_id( @@ -169,7 +169,7 @@ class TestPosOrderPricelistChange(TransactionCase): # Opening Session self.ps_obj.create(cr, uid, { 'config_id': pc_id, - }) + }) # create Pos Order po_id = self.po_obj.create(cr, uid, { @@ -178,7 +178,7 @@ class TestPosOrderPricelistChange(TransactionCase): 'product_id': pp_usb_id, 'qty': 1, }]], - }) + }) po = self.po_obj.browse(cr, uid, po_id) res = self.po_obj.onchange_pricelist_id(