validations_libs.tests.community.test_init_validation module

class validations_libs.tests.community.test_init_validation.TestCommunityValidation(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_exec_new_role_with_galaxy(mock_log, mock_role_basedir, mock_run, mock_create_playbook)[source]
test_exec_new_role_with_galaxy_and_error(mock_log, mock_role_basedir, mock_run, mock_create_playbook)[source]
test_execute_with_role_name_not_compliant()[source]
test_playbook_already_exists_in_comval(mock_path_exists, mock_path_is_file, mock_path_iterdir)[source]
test_playbook_already_exists_in_non_comval(mock_path_exists, mock_path_is_file, mock_path_iterdir)[source]
test_playbook_basedir()[source]
test_playbook_name_with_underscores()[source]
test_playbook_name_with_underscores_and_dashes()[source]
test_playbook_not_exists(mock_path_exists, mock_path_is_file, mock_path_iterdir)[source]
test_role_already_exists_in_comval(mock_play_path_exists, mock_path_is_dir, mock_path_iterdir)[source]
test_role_already_exists_in_non_comval(mock_play_path_exists, mock_path_is_dir, mock_path_iterdir)[source]
test_role_basedir()[source]
test_role_name_compliant()[source]
test_role_name_not_compliant()[source]
test_role_name_underscored()[source]
test_role_name_with_dashes_only()[source]
test_role_name_with_underscores_and_dashes()[source]
test_role_not_exists(mock_path_exists, mock_path_is_dir, mock_path_iterdir)[source]
test_validation_init_create_playbook(mock_log, mock_role_basedir, mock_run, mock_playbook_path, mock_open)[source]
test_validation_init_create_playbook_with_issue(mock_log, mock_role_basedir, mock_run, mock_create_playbook)[source]