[bean] [mandatory] fixes in test cases

This commit is contained in:
Anand Doshi
2013-07-08 18:50:45 +05:30
parent 2862c9e1df
commit 4ee647e84c
20 changed files with 75 additions and 33 deletions

View File

@@ -22,9 +22,7 @@ class TestQuotation(unittest.TestCase):
self.assertEquals(sales_order[0]["customer"], "_Test Customer")
sales_order[0]["delivery_date"] = "2014-01-01"
webnotes.print_messages = True
sales_order[0]["naming_series"] = "_T-Quotation-"
webnotes.bean(sales_order).insert()
@@ -34,6 +32,7 @@ test_records = [
"company": "_Test Company",
"conversion_rate": 1.0,
"currency": "INR",
"quotation_to": "Customer",
"customer": "_Test Customer",
"customer_name": "_Test Customer",
"customer_group": "_Test Customer Group",