comparison 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
comparison
equal deleted inserted replaced
8446:14c7c07b32d8 8447:d06be9346c68
9 # used here instead of try/except. 9 # used here instead of try/except.
10 import binascii 10 import binascii
11 import errno 11 import errno
12 import getopt 12 import getopt
13 import logging 13 import logging
14 import logging.config
14 import os 15 import os
15 import re 16 import re
16 import smtplib 17 import smtplib
17 import sys 18 import sys
18 import time 19 import time

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