Skip to content

Commit

Permalink
debug pip command
Browse files Browse the repository at this point in the history
  • Loading branch information
emcek committed Oct 16, 2023
1 parent 23de6bf commit 29ba404
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,15 @@ def test_collect_debug_data():
def test_run_pip_command_success():
rc, err, out = utils.run_pip_command('list')
assert rc == 0
assert err == ''
assert out
assert 'pip' in out, out
assert err == '', err


def test_run_pip_command_failed():
rc, err, out = utils.run_pip_command('bullshit')
assert rc == 1
assert err != ''
assert out == ''
assert out == '', out
assert err != '', err


def test_get_full_bios_for_plane(resources):
Expand Down

0 comments on commit 29ba404

Please sign in to comment.