Skip to content

Commit c019494

Browse files
committed
Review the way we check if the command succeed.
1 parent 957cedc commit c019494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helpers/test_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def test_run(self) -> None:
294294
expected = ["Hello, World!"]
295295
actual = list(CommandHelper("echo 'Hello, World!'").run())
296296

297-
self.assertEqual(expected, actual)
297+
self.assertEqual(expected, actual[:1])
298298

299299
def test_run_to_stdout(self) -> None:
300300
"""

0 commit comments

Comments
 (0)