mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 08:47:33 +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_appointment = create_test_appointments()
|
||||
|
||||
def tearDown(self):
|
||||
self.test_appointment.delete()
|
||||
|
||||
def test_calendar_event_created(self):
|
||||
cal_event = frappe.get_doc('Event',self.test_appointment.calendar_event)
|
||||
self.assertEqual(cal_event.starts_on ,self.test_appointment.scheduled_time)
|
||||
|
||||
Reference in New Issue
Block a user