Skip to content

Prettier output for the wifi_test (bugfix)#1738

Merged
fernando79513 merged 1 commit intomainfrom
prettier_output_wait_for_connected
Feb 19, 2025
Merged

Prettier output for the wifi_test (bugfix)#1738
fernando79513 merged 1 commit intomainfrom
prettier_output_wait_for_connected

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented Feb 19, 2025

Description

If the wifi test fails to connect it spits out a weird not enough values to unpack (expected 2, got 1) instead of just reporting that the test failed to connect. This fixes that.

Resolved issues

Fixes: CHECKBOX-1759
Fixes: #1737

Documentation

Explained why I used next and * in a comment above

Tests

N/A

@Hook25 Hook25 force-pushed the prettier_output_wait_for_connected branch from 48f3b7a to 4344979 Compare February 19, 2025 09:16
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.26%. Comparing base (8335de3) to head (4344979).
Report is 131 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1738   +/-   ##
=======================================
  Coverage   49.26%   49.26%           
=======================================
  Files         373      373           
  Lines       40434    40435    +1     
  Branches     6830     6830           
=======================================
+ Hits        19921    19922    +1     
  Misses      19785    19785           
  Partials      728      728           
Flag Coverage Δ
provider-base 25.17% <100.00%> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fernando79513 fernando79513 self-assigned this Feb 19, 2025
Copy link
Copy Markdown
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, I saw the error the other day during wifi test review, but I forgot to fix it. Good job!
LGTM +1!

@fernando79513 fernando79513 merged commit 1a56005 into main Feb 19, 2025
20 checks passed
@fernando79513 fernando79513 deleted the prettier_output_wait_for_connected branch February 19, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wifi_nmcli_test.py: not enough values to unpack (expected 2, got 1)

2 participants