[fix] Test case

This commit is contained in:
Nabin Hait 2016-03-30 15:05:15 +05:30
parent 62ae39441d
commit 7fcec4118b
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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)