mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[fix] Test case
This commit is contained in:
@@ -13,8 +13,8 @@ class TestAssetCategory(unittest.TestCase):
|
|||||||
|
|
||||||
self.assertRaises(frappe.MandatoryError, asset_category.insert)
|
self.assertRaises(frappe.MandatoryError, asset_category.insert)
|
||||||
|
|
||||||
asset_category.number_of_depreciations = 5
|
asset_category.number_of_depreciations = 3
|
||||||
asset_category.number_of_months_in_a_period = 12
|
asset_category.number_of_months_in_a_period = 3
|
||||||
asset_category.append("accounts", {
|
asset_category.append("accounts", {
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
"fixed_asset_account": "_Test Fixed Asset - _TC",
|
"fixed_asset_account": "_Test Fixed Asset - _TC",
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ def make_request_for_quotation():
|
|||||||
rfq.status = 'Draft'
|
rfq.status = 'Draft'
|
||||||
rfq.company = '_Test Company'
|
rfq.company = '_Test Company'
|
||||||
rfq.response = 'Test Data'
|
rfq.response = 'Test Data'
|
||||||
|
rfq.message_for_supplier = "Please supply the specified items at the best possible rates"
|
||||||
|
|
||||||
for data in supplier_data:
|
for data in supplier_data:
|
||||||
rfq.append('suppliers', data)
|
rfq.append('suppliers', data)
|
||||||
|
|||||||
Reference in New Issue
Block a user