freezer.tests.unit.scheduler.test_utils module

class freezer.tests.unit.scheduler.test_utils.TestUtils(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_del_register_error()
test_do_register()
test_find_config_files()
test_find_config_files_path()
test_get_active_jobs_from_api()
test_get_jobs_from_disk()
test_load_doc_from_json_file(mock_load)
test_save_jobs_to_disk()
test_terminate_subprocess(mock_process_constructor)
test_terminate_subprocess1(mock_process, mock_oskill)