freezer.tests.unit.scheduler.test_scheduler_daemon module

class freezer.tests.unit.scheduler.test_scheduler_daemon.TestDaemon(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_create()
test_handle_program_exit_calls_scheduler_stop()
test_handle_program_reload_calls_scheduler_reload()
test_pid_fname_in_tempdir(mock_expanduser, mock_gettempdir)
test_pid_not_exists(mock_isfile)
test_signal_map_handlers()
test_start(mock_DaemonContext, mock_PidFile)
class freezer.tests.unit.scheduler.test_scheduler_daemon.TestNoDaemon(methodName='runTest')

Bases: unittest.case.TestCase

setUp(mock_signal)

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

test_create()
test_exit_handler()
test_has_status_method()
test_has_stop_method()
test_reload_handler()
test_start_exit_ok()