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 ff851c0 commit 8c5a06eCopy full SHA for 8c5a06e
openwisp_controller/connection/tests/test_models.py
@@ -46,7 +46,7 @@ def _exec_command_return_value(
46
stderr_ = mock.Mock()
47
stdin_.read().decode.return_value = stdin
48
stdout_.read().decode.return_value = stdout
49
- stdout_.channel.recv_exit_status.return_value = exit_code
+ stdout_.channel.exit_status = exit_code
50
stderr_.read().decode.return_value = stderr
51
return (stdin_, stdout_, stderr_)
52
0 commit comments