Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fw security #4312

Closed
wants to merge 3 commits into from
Closed

Conversation

JoySnow
Copy link
Collaborator

@JoySnow JoySnow commented Dec 18, 2024

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • No Sensitive Data in this change?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

  • fix: json ParseException in FwupdagentSecurity
  • fix: remove the collection of unused spec fw_devices

RHINENG-14570

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.17%. Comparing base (952f219) to head (198093c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4312   +/-   ##
=======================================
  Coverage   77.17%   77.17%           
=======================================
  Files         765      765           
  Lines       41753    41764   +11     
  Branches     8815     8819    +4     
=======================================
+ Hits        32221    32232   +11     
- Misses       8464     8465    +1     
+ Partials     1068     1067    -1     
Flag Coverage Δ
unittests 77.16% <100.00%> (+<0.01%) ⬆️

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.

@JoySnow JoySnow requested a review from xiangce December 19, 2024 01:14
@@ -123,13 +123,21 @@ class FwupdagentDevices(CommandParser, JSONParser):
>>> len(devices["Devices"])
2
"""
pass
def _handle_content(self, context):
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks not a good idea to cut the content in the _handle_content level. Why not re-implement it in parse_content?

@JoySnow
Copy link
Collaborator Author

JoySnow commented Dec 20, 2024

Changes are split to #4317 and #4318 .

@JoySnow JoySnow deleted the fix-fw_security branch December 20, 2024 07:47
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.

3 participants