def test_01_one(self): """ No way to test the dispatch routine """ self.m_pyhouse_obj.House.Schedules[0].ScheduleType = 'TeStInG14159' # to set dispatch to testing l_schedule = self.m_pyhouse_obj.House.Schedules[0] ScheduleExecution.dispatch_one_schedule(self.m_pyhouse_obj, l_schedule) self.assertEqual(True, True)
def test_02_All(self): """ No way to thest this either. """ l_list = [0, 1] self.m_pyhouse_obj.House.Schedules[0].ScheduleType = 'TeStInG14159' self.m_pyhouse_obj.House.Schedules[1].ScheduleType = 'TeStInG14159' ScheduleExecution.execute_schedules_list(self.m_pyhouse_obj, l_list) self.assertEqual(True, True)
def test_01_one(self): """ No way to test the dispatch routine """ self.m_pyhouse_obj.House.Schedules[0].ScheduleType = 'TeStInG14159' # to set dispatch to testing l_schedule = self.m_pyhouse_obj.House.Schedules[0] print(PrettyFormatAny.form(l_schedule, 'C1-01-A - Sched')) ScheduleExecution.dispatch_one_schedule(self.m_pyhouse_obj, l_schedule) self.assertEqual(True, True)