Covering SupervisorRole.update_init_script
Using mock_role_method to simplify test
Covering SupervisorRole.ensure_config_update
Covering SupervisorRole.config
Covering SupervisorRole.with_program
Covering SupervisorRole.with_program when command and directory are not providing
Covering SupervisorRole.update_config_file
Covering SupervisorRole.update_config_file when the role was not previously configured
Covering SupervisorRole.cleanup
Covering SupervisorRole.restart