Test logger initialization with default and custom parameters.
()
| 18 | |
| 19 | |
| 20 | def test_initialization(): |
| 21 | """Test logger initialization with default and custom parameters.""" |
| 22 | # Default parameters |
| 23 | logger = ScreenLogger() |
| 24 | assert logger.verbose == 2 |
| 25 | assert not logger.is_constrained |
| 26 | |
| 27 | # Custom parameters |
| 28 | logger = ScreenLogger(verbose=0, is_constrained=True) |
| 29 | assert logger.verbose == 0 |
| 30 | assert logger.is_constrained |
| 31 | |
| 32 | |
| 33 | def test_verbose_property(): |
nothing calls this directly
no test coverage detected