Skip to content

Unit tests for the Chuang Mi Plug V1#137

Merged
syssi merged 4 commits intorytilahti:masterfrom
syssi:feature/pytests-plug-v1
Nov 28, 2017
Merged

Unit tests for the Chuang Mi Plug V1#137
syssi merged 4 commits intorytilahti:masterfrom
syssi:feature/pytests-plug-v1

Conversation

@syssi
Copy link
Copy Markdown
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"]
Copy link
Copy Markdown

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")
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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