From 1f7fec328885f72e8966e1c899a4bf7441dc95e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Sat, 23 Apr 2022 13:02:13 +0200 Subject: [PATCH] [IMP]pms: improvement var name pricelist in test --- pms/tests/test_pms_availability_plan_rules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pms/tests/test_pms_availability_plan_rules.py b/pms/tests/test_pms_availability_plan_rules.py index f3668bf70..d04cda41d 100644 --- a/pms/tests/test_pms_availability_plan_rules.py +++ b/pms/tests/test_pms_availability_plan_rules.py @@ -615,7 +615,7 @@ class TestPmsRoomTypeAvailabilityRules(TestPms): """ # ARRANGE test_quota = 2 - test_pricelist2 = self.env["product.pricelist"].create( + test_pricelist3 = self.env["product.pricelist"].create( { "name": "test pricelist 2", } @@ -647,7 +647,7 @@ class TestPmsRoomTypeAvailabilityRules(TestPms): ) # ACT - reservation.pricelist_id = test_pricelist2.id + reservation.pricelist_id = test_pricelist3.id reservation.flush() self.assertEqual( test_quota,