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

Disable flaky/slow ecobee test #27125

Merged
merged 1 commit into from Oct 2, 2019

Conversation

@probot-home-assistant probot-home-assistant bot added has-tests small-pr PRs with less than 30 lines. labels Oct 2, 2019
Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

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

Just commenting about what needs to be done to fix the test.

@@ -116,6 +117,7 @@
assert result["description_placeholders"] == {"pin": "test-pin"}


@pytest.mark.skip(reason="Flaky/slow")
async def test_import_flow_triggered_but_no_ecobee_conf(hass):
Copy link
Member

Choose a reason for hiding this comment

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

We're missing patching in this test. We should patch the load json util.

Seems more setup is needed to complete this test too, eg populate hass.data.

@marthoc
Copy link
Contributor

marthoc commented Oct 2, 2019

I’m planning to take a look at the whole ecobee test suite soon so I’ll make sure to address this then.

@emontnemery emontnemery merged commit 0eb1d49 into home-assistant:dev Oct 2, 2019
@emontnemery emontnemery deleted the ecobee_disable_test branch October 3, 2019 16:35
@lock lock bot locked and limited conversation to collaborators Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants