Codebase list python-procrunner / 476b4dd
be precise about the expected test result Markus Gerstel 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1111 result = procrunner.run(command)
1212
1313 assert result['exitcode'] == 0
14 assert result['stdout'].strip() == b'hello'
14 assert result['stdout'] == b'hello\n'
1515 assert result['stderr'] == b''