From a46b61901e796fcfa6761bad405558077eca7a4a Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 8 Sep 2021 18:49:11 -0400 Subject: [PATCH] fix test name after refactor --- tests/unit/test_base_formatter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_base_formatter.py b/tests/unit/test_base_formatter.py index 9fe2c4e..8958903 100644 --- a/tests/unit/test_base_formatter.py +++ b/tests/unit/test_base_formatter.py @@ -125,8 +125,8 @@ def test_write_uses_an_output_file(tee, capsys): ] -def test_write_uses_print(capsys): - """Verify that we use the print function without an output file.""" +def test_write_produces_stdout(capsys): + """Verify that we write to stdout without an output file.""" line = "Something to write" source = "source"