refactor: Rename assertEquals to assertEqual to avoid deprecation warnings

This commit is contained in:
Suraj Shetty
2021-05-10 09:18:25 +05:30
parent a70e11450e
commit 19c5fd72d6
6 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ class TestTherapyPlan(unittest.TestCase):
self.assertEqual(frappe.db.get_value('Therapy Plan', plan.name, 'status'), 'Completed')
patient, medical_department, practitioner = create_healthcare_docs()
appointment = create_appointment(patient, practitioner, nowdate())
appointment = create_appointment(patient, practitioner, nowdate())
session = make_therapy_session(plan.name, plan.patient, 'Basic Rehab', '_Test Company', appointment.name)
session = frappe.get_doc(session)
session.submit()