mirror of
https://github.com/hanzo-io/cloud.git
synced 2026-10-30 18:57:42 +00:00
13 lines
310 B
Python
13 lines
310 B
Python
import unittest
|
|
|
|
import frappe
|
|
from frappe.core.doctype.scheduled_job_type.scheduled_job_type import insert_events
|
|
|
|
from press.hooks import scheduler_events
|
|
|
|
|
|
class TestSanity(unittest.TestCase):
|
|
def test_valid_scheduler_events(self):
|
|
for event in insert_events(scheduler_events):
|
|
frappe.get_attr(event)
|