mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: improvement var name pricelist in test
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user