We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35bcf1d commit 04b0f4bCopy full SHA for 04b0f4b
src/python_testing/TC_DeviceBasicComposition.py
@@ -779,9 +779,10 @@ def test_TC_IDM_12_1(self):
779
780
# Structured dump so we can pull these back out of the logs
781
def log_structured_data(start_tag: str, dump_string):
782
- lines = dump_string.splitlines(keepends=True)
+ lines = dump_string.splitlines()
783
logging.info(f'{start_tag}BEGIN ({len(lines)} lines)====')
784
- logging.info(f'{start_tag}{start_tag.join(lines)}')
+ for line in lines:
785
+ logging.info(f'{start_tag}{line}')
786
logging.info(f'{start_tag}END ====')
787
788
log_structured_data('==== json: ', json_str)
0 commit comments