jcloude/press/tests/test_sanity.py
2025-12-23 19:17:16 +08:00

12 lines
336 B
Python

import frappe
from frappe.core.doctype.scheduled_job_type.scheduled_job_type import insert_events
from frappe.tests.utils import FrappeTestCase
from press.hooks import scheduler_events
class TestSanity(FrappeTestCase):
def test_valid_scheduler_events(self):
for event in insert_events(scheduler_events):
frappe.get_attr(event)