Skip to content

Fix test_properties command logic#1180

Merged
rytilahti merged 1 commit intorytilahti:masterfrom
Zuz666:Fix-test_properties-command-logic
Nov 6, 2021
Merged

Fix test_properties command logic#1180
rytilahti merged 1 commit intorytilahti:masterfrom
Zuz666:Fix-test_properties-command-logic

Conversation

@Zuz666
Copy link
Copy Markdown
Contributor

@Zuz666 Zuz666 commented Nov 6, 2021

This change is necessary because the current logic of test_properties command in some cases leads to an error on converting the exception object, as well as an inaccurate output if only one parameter is possible during the miIO request.

@Zuz666 Zuz666 marked this pull request as ready for review November 6, 2021 12:38
Copy link
Copy Markdown
Owner

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 6, 2021

Codecov Report

Merging #1180 (10e7c65) into master (210e818) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1180   +/-   ##
=======================================
  Coverage   78.30%   78.30%           
=======================================
  Files          84       84           
  Lines        9526     9526           
  Branches      776      776           
=======================================
  Hits         7459     7459           
  Misses       1880     1880           
  Partials      187      187           
Impacted Files Coverage Δ
miio/device.py 53.79% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 210e818...10e7c65. Read the comment docs.

@rytilahti rytilahti merged commit b1f8f68 into rytilahti:master Nov 6, 2021
@rytilahti rytilahti added the bug label Nov 30, 2021
@rytilahti rytilahti mentioned this pull request Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants