Browse Source

[test-utils.sh] Clean the pip list + grep command

So that we clean the deprecation warning and the multiple errors when
calling this command from CI.

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
2.3.x
Lluis Campos 4 years ago
parent
commit
70eb4af9d6
  1. 2
      scripts/test/test-utils.sh

2
scripts/test/test-utils.sh

@ -92,7 +92,7 @@ run_tests() {
converted_image_name="${converted_image_file%.img}"
if pip3 list | grep -q -e pytest-html; then
if pip3 list --format=columns | grep pytest-html; then
html_report_args="--html=${MENDER_CONVERT_DIR}/report_${device_type}.html --self-contained-html"
fi

Loading…
Cancel
Save