validations_libs.tests.test_validation_logs module

class validations_libs.tests.test_validation_logs.TestValidationLogs(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_get_all_logfiles(mock_open, mock_json, mock_listdir, mock_isfile)[source]
test_get_all_logfiles_bad_name(mock_open, mock_json, mock_listdir, mock_isfile)[source]
test_get_all_logfiles_content(mock_open, mock_json, mock_listdir, mock_isfile)[source]
test_get_all_logfiles_yaml(mock_open, mock_json, mock_listdir, mock_isfile)[source]
test_get_logfile_by_uuid(mock_open, mock_json, mock_glob)[source]
test_get_logfile_by_uuid_validation_id(mock_open, mock_json, mock_glob)[source]
test_get_logfile_by_validation(mock_open, mock_json, mock_glob)[source]
test_get_logfile_content_by_uuid(mock_open, mock_json, mock_glob)[source]
test_get_logfile_content_by_uuid_validation_id(mock_open, mock_json, mock_glob)[source]
test_get_logfile_content_by_validation(mock_open, mock_json, mock_glob)[source]
test_get_results(mock_open, mock_json, mock_get_validation)[source]
test_get_results_list(mock_open, mock_json, mock_get_validation)[source]
test_get_results_none()[source]
test_get_validations_stats(mock_open, mock_json)[source]
test_log_not_found(mock_open)[source]
test_validation_log_file(mock_open, mock_json)[source]