be precise about the expected test result
Markus Gerstel
6 years ago
11 | 11 |
result = procrunner.run(command)
|
12 | 12 |
|
13 | 13 |
assert result['exitcode'] == 0
|
14 | |
assert result['stdout'].strip() == b'hello'
|
|
14 |
assert result['stdout'] == b'hello\n'
|
15 | 15 |
assert result['stderr'] == b''
|