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

Functions

None test_start_logging_wires_and_writes (Path tmp_path)
 
None test_destructor_safe_on_closed_files (Path tmp_path)
 
None test_log_to_file_false_writes_no_content (Path tmp_path)
 
None test_stdout_prefix_appears_in_log (Path tmp_path)
 

Detailed Description

# +==== BEGIN rotary_logger =================+
# LOGO: 
# ..........####...####..........
# ......###.....#.#########......
# ....##........#.###########....
# ...#..........#.############...
# ...#..........#.#####.######...
# ..#.....##....#.###..#...####..
# .#.....#.##...#.##..##########.
# #.....##########....##...######
# #.....#...##..#.##..####.######
# .#...##....##.#.##..###..#####.
# ..#.##......#.#.####...######..
# ..#...........#.#############..
# ..#...........#.#############..
# ...##.........#.############...
# ......#.......#.#########......
# .......#......#.########.......
# .........#####...#####.........
# /STOP
# PROJECT: rotary_logger
# FILE: test_rotary_integration.py
# CREATION DATE: 01-11-2025
# LAST Modified: 3:44:19 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 making sure that the Rotary logger class works and does what is expected of it.
# // AR
# +==== END rotary_logger =================+

Function Documentation

◆ test_destructor_safe_on_closed_files()

None tests.test_rotary_integration.test_destructor_safe_on_closed_files ( Path tmp_path)

Definition at line 66 of file test_rotary_integration.py.

◆ test_log_to_file_false_writes_no_content()

None tests.test_rotary_integration.test_log_to_file_false_writes_no_content ( Path tmp_path)
With log_to_file=False, no content should be written to any log file.

Definition at line 91 of file test_rotary_integration.py.

◆ test_start_logging_wires_and_writes()

None tests.test_rotary_integration.test_start_logging_wires_and_writes ( Path tmp_path)

Definition at line 41 of file test_rotary_integration.py.

◆ test_stdout_prefix_appears_in_log()

None tests.test_rotary_integration.test_stdout_prefix_appears_in_log ( Path tmp_path)
When prefix_out_stream=True the [STDOUT] prefix should appear in the log.

Definition at line 115 of file test_rotary_integration.py.