We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a672b34 commit 569dc7bCopy full SHA for 569dc7b
opengrok-tools/src/test/python/test_command.py
@@ -192,7 +192,8 @@ def test_long_output():
192
assert cmd.getstate() == Command.FINISHED
193
assert cmd.getretcode() == 0
194
assert cmd.geterroutput() is None
195
- assert len(cmd.getoutputstr()) == num_lines * (line_length + 1)
+ # -1 because getoutputstr() strips the string
196
+ assert len(cmd.getoutputstr()) == num_lines * (line_length + 1) - 1
197
198
199
@pytest.mark.skipif(not os.name.startswith("posix"), reason="requires posix")
0 commit comments