Apply suggestions from code review of branch no-uvicorn.error-logs-without-error
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
This commit is contained in:
parent
95969c5daa
commit
353d311c1e
2 changed files with 2 additions and 4 deletions
|
|
@ -181,7 +181,7 @@ def test_uvicorn_error_only_says_error_on_error(
|
|||
ofm_logging.OFM_HANDLER = ofm_logging.OFMHandler()
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
ofm_logging.configure_logging(tmpdir)
|
||||
log_command("Mockedy mock mock!")
|
||||
log_command("Mockety mock mock!")
|
||||
with open(ofm_logging.OFM_LOG_FILE, "r", encoding="utf-8") as log_file:
|
||||
log_txt = log_file.read()
|
||||
for name in names_in_log:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue