def test_add_job_data_not_dict(self):
        data = 'foo'
        self.assertRaises(ValueError, Schedule.add_job, self.schedule, data)
Tests if data is a dictionary
dataset/ETHPy150Open saltstack/salt/tests/unit/utils/schedule_test.py/ScheduleTestCase.test_add_job_data_not_dict