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

Remove service helper (2) #16863

Merged
merged 9 commits into from
Sep 26, 2018
Merged

Remove service helper (2) #16863

merged 9 commits into from
Sep 26, 2018

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Sep 25, 2018

Description:

Additional work for: home-assistant/architecture#58
Instead of rewriting every test (what I did with #16832), I only moved the service helpers to test/[component]/common.py and rewrote the references, as suggested.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

@@ -0,0 +1,111 @@
"""Collection of helper methods."""
Copy link
Member

Choose a reason for hiding this comment

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

Can we update the description of each of these files to say that these are legacy helpers and should not be mimicked in new components.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 I've updated the descriptions.

Copy link
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

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

Beautiful

@cdce8p cdce8p mentioned this pull request Sep 25, 2018
2 tasks
@ghost ghost assigned balloob Sep 26, 2018
@balloob balloob merged commit fa98a27 into home-assistant:dev Sep 26, 2018
@ghost ghost removed the in progress label Sep 26, 2018
@cdce8p cdce8p deleted the remove-service-helper branch September 26, 2018 08:18
@balloob balloob mentioned this pull request Oct 12, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants