fix:remove tearDown from test
This commit is contained in:
parent
43331564b4
commit
72aac09d62
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user