diff roundup/configuration.py @ 8447:d06be9346c68

bug, test: fix tests for trace_id; readd import logging.config Made save_restore_logging a test level fixture. It was a class level which worked fine until I started using caplog for tests in the same class. Due to loading config from dict, the roundup channel was set to not propagate which broke the new formatting test used for trace_id. Forgot to update some tests due to change in default format adding %(trace_id). Also re-added logging.config import which broke loading logging config files in configuration.py.
author John Rouillard <rouilj@ieee.org>
date Wed, 17 Sep 2025 00:45:04 -0400
parents 14c7c07b32d8
children 401c6f0be6c5
line wrap: on
line diff
--- a/roundup/configuration.py	Tue Sep 16 22:53:00 2025 -0400
+++ b/roundup/configuration.py	Wed Sep 17 00:45:04 2025 -0400
@@ -11,6 +11,7 @@
 import errno
 import getopt
 import logging
+import logging.config
 import os
 import re
 import smtplib

Roundup Issue Tracker: http://roundup-tracker.org/