[minor] don't rollback when running all tests, fixed test cases
This commit is contained in:
parent
b6d932a13f
commit
17bf5dd52b
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ class TestProfile(unittest.TestCase):
|
|||
self.assertTrue(not webnotes.conn.sql("""select * from `tabToDo` where owner=%s""",
|
||||
"_test@example.com"))
|
||||
|
||||
webnotes.bean({"doctype": "Role", "role_name": "_Test Role 2"}).insert()
|
||||
|
||||
def test_get_value(self):
|
||||
self.assertEquals(webnotes.conn.get_value("Profile", "test@example.com"), "test@example.com")
|
||||
self.assertEquals(webnotes.conn.get_value("Profile", {"email":"test@example.com"}), "test@example.com")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue