(writer)
| 56 | |
| 57 | |
| 58 | def test_activation(writer): |
| 59 | activation = [("tests", False), ("tests.test_configure", True)] |
| 60 | |
| 61 | logger.add(writer, format="{message}") |
| 62 | logger.configure(activation=activation) |
| 63 | |
| 64 | logger.debug("Logging") |
| 65 | |
| 66 | assert writer.read() == "Logging\n" |
| 67 | |
| 68 | |
| 69 | def test_dict_unpacking(writer): |