mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] pms: Add Test Case for advanced pricelist
This commit is contained in:
@@ -20,3 +20,4 @@
|
||||
#
|
||||
##############################################################################
|
||||
from . import test_pms_reservation
|
||||
from . import test_pms_pricelist
|
||||
|
||||
16
pms/tests/test_pms_pricelist.py
Normal file
16
pms/tests/test_pms_pricelist.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from odoo.tests import common, tagged
|
||||
|
||||
|
||||
@tagged("standard", "nice")
|
||||
class TestPmsPricelist(common.TransactionCase):
|
||||
def test_advanced_pricelist_exists(self):
|
||||
|
||||
# ARRANGE
|
||||
key = "product.product_pricelist_setting"
|
||||
value = "Advance"
|
||||
|
||||
# ACT
|
||||
found_value = self.env["ir.config_parameter"].sudo().get_param(key)
|
||||
|
||||
# ASSERT
|
||||
self.assertEqual(found_value, value, "The register wasn't created")
|
||||
Reference in New Issue
Block a user