diff --git a/changemakers/frappe_changemakers/doctype/shelter_home/test_shelter_home.py b/changemakers/frappe_changemakers/doctype/shelter_home/test_shelter_home.py index fa1e17a..0c7a9bf 100644 --- a/changemakers/frappe_changemakers/doctype/shelter_home/test_shelter_home.py +++ b/changemakers/frappe_changemakers/doctype/shelter_home/test_shelter_home.py @@ -43,8 +43,4 @@ def test_vacant_beds_less_than_capacity(self): @classmethod def tearDown(cls): - frappe.delete_doc("shelter_test", force=True) - frappe.delete_doc("shelter_test_ward", force=True) - frappe.delete_doc("shelter_test_zone", force=True) - frappe.delete_doc("shelter_test_district", force=True) - frappe.delete_doc("shelter_test_state", force=True) + frappe.db.rollback()