Grammar and spelling fixes (#16065)

This commit is contained in:
Ville Skyttä 2018-08-19 22:29:08 +02:00 committed by Fabian Affolter
parent 9e1fa7ef42
commit dbd0763f83
244 changed files with 453 additions and 453 deletions

View file

@ -11,7 +11,7 @@ class TestFFmpegNoiseSetup:
"""Test class for ffmpeg."""
def setup_method(self):
"""Setup things to be run when tests are started."""
"""Set up things to be run when tests are started."""
self.hass = get_test_home_assistant()
self.config = {
@ -29,7 +29,7 @@ class TestFFmpegNoiseSetup:
self.hass.stop()
def test_setup_component(self):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(1, 'binary_sensor'):
setup_component(self.hass, 'binary_sensor', self.config)
@ -38,7 +38,7 @@ class TestFFmpegNoiseSetup:
@patch('haffmpeg.SensorNoise.open_sensor', return_value=mock_coro())
def test_setup_component_start(self, mock_start):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(1, 'binary_sensor'):
setup_component(self.hass, 'binary_sensor', self.config)
@ -53,7 +53,7 @@ class TestFFmpegNoiseSetup:
@patch('haffmpeg.SensorNoise')
def test_setup_component_start_callback(self, mock_ffmpeg):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(1, 'binary_sensor'):
setup_component(self.hass, 'binary_sensor', self.config)
@ -76,7 +76,7 @@ class TestFFmpegMotionSetup:
"""Test class for ffmpeg."""
def setup_method(self):
"""Setup things to be run when tests are started."""
"""Set up things to be run when tests are started."""
self.hass = get_test_home_assistant()
self.config = {
@ -94,7 +94,7 @@ class TestFFmpegMotionSetup:
self.hass.stop()
def test_setup_component(self):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(1, 'binary_sensor'):
setup_component(self.hass, 'binary_sensor', self.config)
@ -103,7 +103,7 @@ class TestFFmpegMotionSetup:
@patch('haffmpeg.SensorMotion.open_sensor', return_value=mock_coro())
def test_setup_component_start(self, mock_start):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(1, 'binary_sensor'):
setup_component(self.hass, 'binary_sensor', self.config)
@ -118,7 +118,7 @@ class TestFFmpegMotionSetup:
@patch('haffmpeg.SensorMotion')
def test_setup_component_start_callback(self, mock_ffmpeg):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(1, 'binary_sensor'):
setup_component(self.hass, 'binary_sensor', self.config)