Test Values Default¶
tests.values.test_values_default
¶
test_values_default.py file for the fejao_config_parser package.
This module contains unit tests for the default configuration constants.
¶
TestValuesDefault
¶
Bases: TestCase
Test suite for default configuration constants.
Source code in tests/values/test_values_default.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
Methods:¶
test_default_accepted_file_types
¶
test_default_accepted_file_types()
Test that DEFAULT_ACCEPTED_FILE_TYPES contains supported file extensions.
Source code in tests/values/test_values_default.py
52 53 54 55 56 57 58 | |
test_default_accepted_key_types
¶
test_default_accepted_key_types()
Test that DEFAULT_ACCEPTED_KEY_TYPES contains supported value types.
Source code in tests/values/test_values_default.py
44 45 46 47 48 49 50 | |
test_default_app_description
¶
test_default_app_description()
Test that DEFAULT_APP_DESCRIPTION is a descriptive string.
Source code in tests/values/test_values_default.py
65 66 67 68 69 70 | |
test_default_ini_section
¶
test_default_ini_section()
Test that DEFAULT_INI_SECTION is the expected string.
Source code in tests/values/test_values_default.py
60 61 62 63 | |
test_default_keys_possible
¶
test_default_keys_possible()
Test that DEFAULT_KEYS_POSSIBLE contains all possible keys.
Source code in tests/values/test_values_default.py
31 32 33 34 35 36 37 38 39 40 41 42 | |
test_default_keys_required
¶
test_default_keys_required()
Test that DEFAULT_KEYS_REQUIRED contains the expected required keys.
Source code in tests/values/test_values_default.py
23 24 25 26 27 28 29 | |