mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 15:12:21 +01:00
refactor(test): make price list - more test records
This commit is contained in:
@@ -242,6 +242,55 @@ class ERPNextTestSuite(unittest.TestCase):
|
||||
"selling": 1,
|
||||
"currency": "INR",
|
||||
},
|
||||
{
|
||||
"buying": 1,
|
||||
"currency": "INR",
|
||||
"doctype": "Price List",
|
||||
"enabled": 1,
|
||||
"price_not_uom_dependant": 1,
|
||||
"price_list_name": "_Test Price List",
|
||||
"selling": 1,
|
||||
},
|
||||
{
|
||||
"buying": 1,
|
||||
"currency": "INR",
|
||||
"doctype": "Price List",
|
||||
"enabled": 1,
|
||||
"price_list_name": "_Test Price List 2",
|
||||
"selling": 1,
|
||||
},
|
||||
{
|
||||
"buying": 1,
|
||||
"currency": "INR",
|
||||
"doctype": "Price List",
|
||||
"enabled": 1,
|
||||
"price_list_name": "_Test Price List India",
|
||||
"selling": 1,
|
||||
},
|
||||
{
|
||||
"buying": 1,
|
||||
"currency": "USD",
|
||||
"doctype": "Price List",
|
||||
"enabled": 1,
|
||||
"price_list_name": "_Test Price List Rest of the World",
|
||||
"selling": 1,
|
||||
},
|
||||
{
|
||||
"buying": 0,
|
||||
"currency": "USD",
|
||||
"doctype": "Price List",
|
||||
"enabled": 1,
|
||||
"price_list_name": "_Test Selling Price List",
|
||||
"selling": 1,
|
||||
},
|
||||
{
|
||||
"buying": 1,
|
||||
"currency": "USD",
|
||||
"doctype": "Price List",
|
||||
"enabled": 1,
|
||||
"price_list_name": "_Test Buying Price List",
|
||||
"selling": 0,
|
||||
},
|
||||
]
|
||||
cls.price_list = []
|
||||
for x in records:
|
||||
|
||||
Reference in New Issue
Block a user