validations_libs.tests.test_validation module

class validations_libs.tests.test_validation.TestValidation(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_categories(mock_open, mock_yaml)[source]
test_categories_with_no_existing_categories(mock_open, mock_yaml)[source]
test_categories_with_no_metadata(mock_open, mock_yaml)[source]
test_get_data(mock_open, mock_yaml)[source]
test_get_formated_data(mock_open, mock_yaml)[source]
test_get_formated_data_no_metadata(mock_open, mock_yaml)[source]
test_get_id(mock_open, mock_yaml)[source]
test_get_metadata(mock_open, mock_yaml)[source]
test_get_metadata_wrong_playbook(mock_open, mock_yaml)[source]
test_get_ordered_dict(mock_open, mock_yaml)[source]
test_get_vars(mock_open, mock_yaml)[source]
test_get_vars_no_metadata(mock_open, mock_yaml)[source]
test_get_vars_no_vars(mock_open, mock_yaml)[source]
test_groups(mock_open, mock_yaml)[source]
test_groups_with_no_existing_groups(mock_open, mock_yaml)[source]
test_groups_with_no_metadata(mock_open, mock_yaml)[source]
test_products(mock_open, mock_yaml)[source]
test_products_with_no_existing_products(mock_open, mock_yaml)[source]
test_products_with_no_metadata(mock_open, mock_yaml)[source]
test_validation_not_found(mock_open)[source]