mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix:remove tearDown from test
This commit is contained in:
@@ -42,9 +42,6 @@ class TestAppointment(unittest.TestCase):
|
|||||||
self.test_lead = create_test_lead()
|
self.test_lead = create_test_lead()
|
||||||
self.test_appointment = create_test_appointments()
|
self.test_appointment = create_test_appointments()
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
self.test_appointment.delete()
|
|
||||||
|
|
||||||
def test_calendar_event_created(self):
|
def test_calendar_event_created(self):
|
||||||
cal_event = frappe.get_doc('Event',self.test_appointment.calendar_event)
|
cal_event = frappe.get_doc('Event',self.test_appointment.calendar_event)
|
||||||
self.assertEqual(cal_event.starts_on ,self.test_appointment.scheduled_time)
|
self.assertEqual(cal_event.starts_on ,self.test_appointment.scheduled_time)
|
||||||
|
|||||||
Reference in New Issue
Block a user