From bcc6ea450a17dff1bebc69f562754fd966dc8ca7 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Mon, 5 Dec 2016 18:32:57 +0530 Subject: [PATCH] [fix] test cases for customer credit --- erpnext/selling/doctype/customer/test_customer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erpnext/selling/doctype/customer/test_customer.py b/erpnext/selling/doctype/customer/test_customer.py index 36e4819ffe..23df503084 100644 --- a/erpnext/selling/doctype/customer/test_customer.py +++ b/erpnext/selling/doctype/customer/test_customer.py @@ -16,6 +16,9 @@ test_ignore = ["Price List"] test_records = frappe.get_test_records('Customer') class TestCustomer(unittest.TestCase): + def tearDown(self): + frappe.db.set_value("Customer", '_Test Customer', 'credit_limit', 0.0) + def test_party_details(self): from erpnext.accounts.party import get_party_details