From 9911c4ab4f45024b2bcaada53ba423e3461ed5dc Mon Sep 17 00:00:00 2001
From: "joseluiszanotti@gmail.com@gitlab.e-mips.com.ar"
 <joseluiszanotti@gmail.com>
Date: Wed, 8 Apr 2020 11:38:09 -0300
Subject: [PATCH] Test Fix

---
 tests/test_sale_order.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_sale_order.py b/tests/test_sale_order.py
index b47c19a..6b045b7 100644
--- a/tests/test_sale_order.py
+++ b/tests/test_sale_order.py
@@ -72,7 +72,7 @@ class TestModel(TransactionCase):
                 'product_id': self.product_3.id,
                 'product_uom_qty': 4,
                 'price_unit': 5.00,
-            }), (0, 0, {                
+            }), (0, 0, {
                 'name': 'Product 1',
                 'product_id': self.product_1.id,
                 'product_uom_qty': 24,
@@ -99,6 +99,6 @@ class TestModel(TransactionCase):
     def test_if_create_stock_picking_related_to_order_line(self):
         total_pickings = len(self.stock_picking.search([]))
         self.new_order.action_confirm()
-        assert len(self.stock_picking.search([])) == total_pickings + 3
+        assert len(self.stock_picking.search([])) == total_pickings + 1
         for picking in self.new_order.picking_ids:
             assert picking.location_id.id == self.implantation_location_1.location_id.id
-- 
GitLab