freezer.tests.unit.scheduler.test_scheduler_job module¶
- class freezer.tests.unit.scheduler.test_scheduler_job.TestSchedulerJob(methodName='runTest')¶
Bases:
TestCase- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test()¶
- test_save_action_to_disk()¶
- test_save_action_with_bool_value_to_disk()¶
- test_save_action_with_none_value_to_disk()¶
- class freezer.tests.unit.scheduler.test_scheduler_job.TestSchedulerJob1(methodName='runTest')¶
Bases:
TestCase- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_get_schedule_args()¶
- test_job_can_be_removed()¶
- test_job_contains_exec()¶
- test_job_create()¶
- test_job_end_session()¶
- test_job_execute(mock_process)¶
- test_job_finish()¶
- test_job_process_event()¶
- test_job_remove()¶
- test_job_result()¶
- test_job_schedule()¶
- test_job_schedule_cron_fields()¶
- test_job_schedule_end_date()¶
- test_job_session_id()¶
- test_job_session_tag()¶
- test_job_start_session()¶
- test_job_terminate_kill()¶
- test_job_unschedule()¶
- test_job_update_job_schedule_doc()¶
- test_job_upload_metadata()¶
- test_runningstate_abort()¶
- test_runningstate_remove()¶
- test_runningstate_start()¶
- test_runningstate_stop()¶
- test_save_action_to_file()¶
- test_scheduledstate_abort()¶
- test_scheduledstate_remove()¶
- test_scheduledstate_start()¶
- test_scheduledstate_stop()¶
- test_stopstate_abort()¶
- test_stopstate_remove()¶
- test_stopstate_start()¶
- test_stopstate_stop()¶
- class freezer.tests.unit.scheduler.test_scheduler_job.TestSchedulerJobCapabilities(methodName='runTest')¶
Bases:
TestCase- setUp()¶
Hook method for setting up the test fixture before exercising it.
- tearDown()¶
Hook method for deconstructing the test fixture after testing it.
- test_job_supported_action()¶
check_capabilities of a job that contains only allowed actions. The job should be accepted.
- test_job_supported_engine()¶
check_capabilities of a job that contains only allowed engines. The job should be accepted.
- test_job_supported_mode()¶
check_capabilities of a job that contains only allowed modes. The job should be accepted.
- test_job_supported_storage()¶
check_capabilities of a job that contains only allowed storages. The job should be accepted.
- test_job_unsupported_action()¶
check_capabilities of a job that contains allowed and disallowed actions. The job should be rejected.
- test_job_unsupported_engine()¶
check_capabilities of a job that contains disallowed engines. The job should be rejected.
- test_job_unsupported_mode()¶
check_capabilities of a job that contains allowed and disallowed modes. The job should be rejected.
- test_job_unsupported_storage()¶
check_capabilities of a job that contains allowed and disallowed storages. The job should be rejected.