fix: enable server script while testing

This commit is contained in:
RitvikSardana 2023-09-26 12:02:25 +05:30
parent 9ae56289df
commit 9368f0aee4

View file

@ -10,6 +10,11 @@ from frappe.utils.xlsxutils import make_xlsx
class TestQueryReport(FrappeTestCase):
@classmethod
def setUpClass(cls) -> None:
cls.enable_safe_exec()
return super().setUpClass()
def tearDown(self):
frappe.db.rollback()