Skip to content

Commit

Permalink
Fix test_run_ignore_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-avalos committed Dec 12, 2024
1 parent 73df369 commit 8718d1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions checkbox-support/checkbox_support/tests/test_lxd_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ def test_run_ignore_errors(self, run_mock, logging_mock):
LXD.run(self_mock, "ip a", ignore_errors=True)
run_mock.assert_called_with(
["ip", "a"],
stdout=subprocess.PIPE,
timeout=None,
check=True,
stderr=subprocess.STDOUT,
stdin=subprocess.DEVNULL,
universal_newlines=True,
Expand Down

0 comments on commit 8718d1c

Please sign in to comment.