[fix] Test case
This commit is contained in:
parent
62ae39441d
commit
7fcec4118b
@ -13,8 +13,8 @@ class TestAssetCategory(unittest.TestCase):
|
||||
|
||||
self.assertRaises(frappe.MandatoryError, asset_category.insert)
|
||||
|
||||
asset_category.number_of_depreciations = 5
|
||||
asset_category.number_of_months_in_a_period = 12
|
||||
asset_category.number_of_depreciations = 3
|
||||
asset_category.number_of_months_in_a_period = 3
|
||||
asset_category.append("accounts", {
|
||||
"company": "_Test Company",
|
||||
"fixed_asset_account": "_Test Fixed Asset - _TC",
|
||||
|
@ -51,6 +51,7 @@ def make_request_for_quotation():
|
||||
rfq.status = 'Draft'
|
||||
rfq.company = '_Test Company'
|
||||
rfq.response = 'Test Data'
|
||||
rfq.message_for_supplier = "Please supply the specified items at the best possible rates"
|
||||
|
||||
for data in supplier_data:
|
||||
rfq.append('suppliers', data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user