Fix typos (#3490)
This commit is contained in:
parent
0065dc0cd7
commit
3d31d26b6c
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
"""The tests for SleepIQ binary_sensor platform."""
|
"""The tests for SleepIQ binary sensor platform."""
|
||||||
import unittest
|
import unittest
|
||||||
from unittest.mock import MagicMock
|
from unittest.mock import MagicMock
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class TestSleepIQBinarySensorSetup(unittest.TestCase):
|
||||||
|
|
||||||
@requests_mock.Mocker()
|
@requests_mock.Mocker()
|
||||||
def test_setup(self, mock):
|
def test_setup(self, mock):
|
||||||
"""Test for succesfully setting up the SleepIQ platform."""
|
"""Test for successfully setting up the SleepIQ platform."""
|
||||||
mock_responses(mock)
|
mock_responses(mock)
|
||||||
|
|
||||||
sleepiq.setup_platform(self.hass,
|
sleepiq.setup_platform(self.hass,
|
||||||
|
|
|
@ -32,7 +32,7 @@ class TestSleepIQSensorSetup(unittest.TestCase):
|
||||||
|
|
||||||
@requests_mock.Mocker()
|
@requests_mock.Mocker()
|
||||||
def test_setup(self, mock):
|
def test_setup(self, mock):
|
||||||
"""Test for succesfully setting up the SleepIQ platform."""
|
"""Test for successfully setting up the SleepIQ platform."""
|
||||||
mock_responses(mock)
|
mock_responses(mock)
|
||||||
|
|
||||||
sleepiq.setup_platform(self.hass,
|
sleepiq.setup_platform(self.hass,
|
||||||
|
|
|
@ -28,7 +28,7 @@ class TestSleepIQ(unittest.TestCase):
|
||||||
"""Tests the SleepIQ component."""
|
"""Tests the SleepIQ component."""
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
"""Initialize values for this testcase class."""
|
"""Initialize values for this test case class."""
|
||||||
self.hass = get_test_home_assistant()
|
self.hass = get_test_home_assistant()
|
||||||
self.username = 'foo'
|
self.username = 'foo'
|
||||||
self.password = 'bar'
|
self.password = 'bar'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue