Skip to content

deCONZ - Use proper mechanisms for options flow tests#31965

Merged
Kane610 merged 1 commit into
home-assistant:devfrom
Kane610:deconz-improve_config_flow_tests
Feb 18, 2020
Merged

deCONZ - Use proper mechanisms for options flow tests#31965
Kane610 merged 1 commit into
home-assistant:devfrom
Kane610:deconz-improve_config_flow_tests

Conversation

@Kane610
Copy link
Copy Markdown
Member

@Kane610 Kane610 commented Feb 18, 2020

Generic clean up

Breaking change

Proposed change

Following @MartinHjelmare comment in #31842

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 🥈 Silver
  • 🥇 Gold
  • 🏆 Platinum

@Kane610 Kane610 self-assigned this Feb 18, 2020
@probot-home-assistant probot-home-assistant Bot added has-tests small-pr PRs with less than 30 lines. labels Feb 18, 2020
@Kane610 Kane610 changed the title deCONZ - Use proper mechanisms for options flow deCONZ - Use proper mechanisms for options flow tests Feb 18, 2020
Comment thread tests/components/deconz/test_config_flow.py
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 18, 2020

Codecov Report

Merging #31965 into dev will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev   #31965      +/-   ##
==========================================
+ Coverage   94.65%   94.69%   +0.03%     
==========================================
  Files         763      766       +3     
  Lines       55164    55544     +380     
==========================================
+ Hits        52218    52596     +378     
- Misses       2946     2948       +2
Impacted Files Coverage Δ
homeassistant/components/demo/config_flow.py 62.85% <0%> (-37.15%) ⬇️
homeassistant/util/logging.py 95.83% <0%> (-1.61%) ⬇️
homeassistant/helpers/entity.py 97.27% <0%> (-0.35%) ⬇️
homeassistant/components/mqtt/cover.py 97.11% <0%> (-0.02%) ⬇️
homeassistant/components/deconz/gateway.py 100% <0%> (ø) ⬆️
homeassistant/components/deconz/binary_sensor.py 98.03% <0%> (ø) ⬆️
homeassistant/components/deconz/climate.py 100% <0%> (ø) ⬆️
...omeassistant/components/soundtouch/media_player.py 100% <0%> (ø) ⬆️
...ssistant/components/google_assistant/smart_home.py 91.2% <0%> (ø) ⬆️
homeassistant/helpers/entity_registry.py 99.53% <0%> (ø) ⬆️
... and 30 more

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 614be5c...bc73ce2. Read the comment docs.

@Kane610 Kane610 merged commit a745134 into home-assistant:dev Feb 18, 2020
@Kane610 Kane610 deleted the deconz-improve_config_flow_tests branch February 18, 2020 22:53
@lock lock Bot locked and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed has-tests small-pr PRs with less than 30 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants