Skip to content

Commit

Permalink
fix: use devnull for stderr pipe to dcm process handle
Browse files Browse the repository at this point in the history
Signed-off-by: Sheeshpaul <[email protected]>
  • Loading branch information
spkamboj committed Jul 30, 2024
1 parent d3d778c commit d654e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/deadline_client/cli/test_cli_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ def test_cli_deadline_cloud_monitor_login_and_logout(fresh_deadline_config):
popen_mock.assert_called_once_with(
["/bin/DeadlineCloudMonitor", "login", "--profile", "sandbox-us-west-2"],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
stderr=subprocess.DEVNULL,
stdin=subprocess.PIPE,
)
else:
popen_mock.assert_called_once_with(
["/bin/DeadlineCloudMonitor", "login", "--profile", "sandbox-us-west-2"],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
stderr=subprocess.DEVNULL,
stdin=subprocess.DEVNULL,
)

Expand Down

0 comments on commit d654e5e

Please sign in to comment.