test: Fix flaky test
- Due to improper cleanup one of the test of Energy Point was failing
This commit is contained in:
parent
efdd267cd5
commit
3a004d38db
1 changed files with 4 additions and 1 deletions
|
|
@ -274,4 +274,7 @@ class TestNotification(unittest.TestCase):
|
|||
self.assertTrue('test2@example.com' in recipients)
|
||||
self.assertTrue('test1@example.com' in recipients)
|
||||
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
frappe.delete_doc_if_exists("Notification", "ToDo Status Update")
|
||||
frappe.delete_doc_if_exists("Notification", "Contact Status Update")
|
||||
Loading…
Add table
Reference in a new issue