added some test records

This commit is contained in:
Anand Doshi
2013-02-07 19:47:34 +05:30
parent c39d13b6a7
commit 6209046772
20 changed files with 210 additions and 68 deletions

View File

@@ -1,6 +1,9 @@
import sys
import unittest
if __name__=="__main__":
sys.path.extend([".", "app", "lib"])
from hr.doctype.leave_application.leave_application import LeaveDayBlockedError
class TestLeaveApplication(unittest.TestCase):
@@ -53,7 +56,6 @@ test_records = [
}]]
if __name__=="__main__":
sys.path.extend(["app", "lib"])
import webnotes
webnotes.connect()