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

Unit tests for the Chuang Mi Plug V1 #137

Merged
merged 4 commits into from
Nov 28, 2017

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Nov 27, 2017

First draft.


assert self.is_on() is True
assert self.state().usb_power is True
assert self.state().temperature == self.device.start_state["temperature"]

Choose a reason for hiding this comment

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

line too long (81 > 79 characters)




@pytest.fixture(scope="class")

Choose a reason for hiding this comment

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

too many blank lines (3)

@syssi syssi changed the title [WIP] Unit tests for the Chuang Mi Plug V1 Unit tests for the Chuang Mi Plug V1 Nov 27, 2017
@coveralls
Copy link

coveralls commented Nov 27, 2017

Coverage Status

Coverage increased (+1.0%) to 58.79% when pulling dbe7cc7 on syssi:feature/pytests-plug-v1 into 5ba379e on rytilahti:master.

@coveralls
Copy link

coveralls commented Nov 27, 2017

Coverage Status

Coverage increased (+1.0%) to 58.79% when pulling 2bbcde9 on syssi:feature/pytests-plug-v1 into 5ba379e on rytilahti:master.

@coveralls
Copy link

coveralls commented Nov 27, 2017

Coverage Status

Coverage increased (+1.2%) to 58.993% when pulling 5779e0a on syssi:feature/pytests-plug-v1 into 5ba379e on rytilahti:master.

@syssi syssi merged commit 90f0d8b into rytilahti:master Nov 28, 2017
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