1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Upgrade pytest to 6.0.2 (#39959)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Franck Nijhof
2020-09-15 10:09:56 +02:00
committed by GitHub
parent 8236394b85
commit 5d0fa1417e
5 changed files with 12 additions and 8 deletions

View File

@@ -38,6 +38,10 @@ class MockDysonState(DysonPureCoolState):
"""Create new Mock Dyson State."""
pass
def __repr__(self):
"""Mock repr because original one fails since constructor not called."""
return "<MockDysonState>"
def _get_dyson_purecool_device():
"""Return a valid device as provided by the Dyson web services."""