added test case for leave_application

This commit is contained in:
Rushabh Mehta
2013-02-05 23:25:37 +05:30
parent 4e95bb59a0
commit c2563effbf
14 changed files with 124 additions and 20 deletions

View File

@@ -19,4 +19,10 @@ import webnotes
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
self.doc, self.doclist = d, dl
test_records = [
[{"doctype":"Department", "department_name":"_Test Department"}],
[{"doctype":"Department", "department_name":"_Test Department with Block List",
"holiday_block_list": "_Test Holiday Block List"}],
]