validations_common.tests.library.test_validations_read_ini module

test_validations_read_ini

Tests for validations_read_ini module.

class validations_common.tests.library.test_validations_read_ini.TestValidationsReadIni(*args: Any, **kwargs: Any)[source]

Bases: TestCase

create_tmp_ini()[source]

Create temporary tmp.ini file, return its full name

test_check_file_invalid_path()[source]

Test validations_read_ini when path is invalid

test_check_file_valid_path()[source]

Test validations_read_ini when path is valid

test_get_result_invalid_format()[source]

Test validations_read_ini when file format is valid

test_get_result_key_not_found()[source]

Test validations_read_ini when key is not found

test_get_result_key_not_found_with_default()[source]

Test validations_read_ini when key is not found but has a default

test_get_result_ok()[source]

Test validations_read_ini when key is not found