Rotary Logger  1.0.2
The middleware rotary logger
Loading...
Searching...
No Matches
tests.test_constants Namespace Reference

Functions

None test_size_constants ()
 
None test_default_values ()
 
None test_prefix_and_enum_mappings ()
 
None test_correct_folder_all_modes ()
 
None test_error_mode_members ()
 
None test_prefix_function_call_members ()
 
None test_file_stream_instances_default_all_false ()
 
None test_file_stream_instances_dict_isolation ()
 

Detailed Description

# +==== BEGIN rotary_logger =================+
# LOGO: 
# ..........####...####..........
# ......###.....#.#########......
# ....##........#.###########....
# ...#..........#.############...
# ...#..........#.#####.######...
# ..#.....##....#.###..#...####..
# .#.....#.##...#.##..##########.
# #.....##########....##...######
# #.....#...##..#.##..####.######
# .#...##....##.#.##..###..#####.
# ..#.##......#.#.####...######..
# ..#...........#.#############..
# ..#...........#.#############..
# ...##.........#.############...
# ......#.......#.#########......
# .......#......#.########.......
# .........#####...#####.........
# /STOP
# PROJECT: rotary_logger
# FILE: test_constants.py
# CREATION DATE: 01-11-2025
# LAST Modified: 3:42:4 04-03-2026
# DESCRIPTION: 
# A module that provides a universal python light on iops way of logging to files your program execution.
# /STOP
# COPYRIGHT: (c) Asperguide
# PURPOSE: This is the file in charge of testing the critical variables of the constants file to make sure that they are still accurate.
# // AR
# +==== END rotary_logger =================+

Function Documentation

◆ test_correct_folder_all_modes()

None tests.test_constants.test_correct_folder_all_modes ( )
CORRECT_FOLDER should have an entry for every StdMode value.

Definition at line 58 of file test_constants.py.

◆ test_default_values()

None tests.test_constants.test_default_values ( )

Definition at line 44 of file test_constants.py.

◆ test_error_mode_members()

None tests.test_constants.test_error_mode_members ( )
ErrorMode should expose all four policy variants.

Definition at line 67 of file test_constants.py.

◆ test_file_stream_instances_default_all_false()

None tests.test_constants.test_file_stream_instances_default_all_false ( )
A freshly created FileStreamInstances should report all streams unmerged.

Definition at line 83 of file test_constants.py.

◆ test_file_stream_instances_dict_isolation()

None tests.test_constants.test_file_stream_instances_dict_isolation ( )
Two FileStreamInstances must not share the same merged_streams dict.

Definition at line 92 of file test_constants.py.

◆ test_prefix_and_enum_mappings()

None tests.test_constants.test_prefix_and_enum_mappings ( )

Definition at line 50 of file test_constants.py.

◆ test_prefix_function_call_members()

None tests.test_constants.test_prefix_function_call_members ( )
PrefixFunctionCall should include EMPTY and all I/O method tags.

Definition at line 76 of file test_constants.py.

◆ test_size_constants()

None tests.test_constants.test_size_constants ( )

Definition at line 37 of file test_constants.py.