import jingrow
from jingrow.core.doctype.scheduled_job_type.scheduled_job_type import insert_events
from jingrow.tests.utils import FrappeTestCase

from jcloude.hooks import scheduler_events


class TestSanity(FrappeTestCase):
	def test_valid_scheduler_events(self):
		for event in insert_events(scheduler_events):
			jingrow.get_attr(event)
