Skip to content
Snippets Groups Projects
Commit 405c8592 authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad Committed by Hans Fangohr
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 0fa58b72
No related branches found
No related tags found
1 merge request!28improve machine readable logging
Pipeline #369826 passed
...@@ -338,7 +338,7 @@ def test_metadata_logging(tmp_path): ...@@ -338,7 +338,7 @@ def test_metadata_logging(tmp_path):
logging.warning("Add some other info") logging.warning("Add some other info")
# Check that relevant lines show up in the log file somewhere # Check that relevant lines show up in the log file somewhere
with open(tmp_path / "test-metadata.log", "r") as f: with open(filename, "r") as f:
logfile_content = f.read() logfile_content = f.read()
for expected_log in expected_log_entries: for expected_log in expected_log_entries:
assert expected_log in logfile_content assert expected_log in logfile_content
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment