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

@ -42,7 +42,7 @@ class TestFFmpegSetup:
"""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()
def teardown_method(self):
@ -50,14 +50,14 @@ class TestFFmpegSetup:
self.hass.stop()
def test_setup_component(self):
"""Setup ffmpeg component."""
"""Set up ffmpeg component."""
with assert_setup_component(2):
setup_component(self.hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
assert self.hass.data[ffmpeg.DATA_FFMPEG].binary == 'ffmpeg'
def test_setup_component_test_service(self):
"""Setup ffmpeg component test services."""
"""Set up ffmpeg component test services."""
with assert_setup_component(2):
setup_component(self.hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -68,7 +68,7 @@ class TestFFmpegSetup:
@asyncio.coroutine
def test_setup_component_test_register(hass):
"""Setup ffmpeg component test register."""
"""Set up ffmpeg component test register."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -83,7 +83,7 @@ def test_setup_component_test_register(hass):
@asyncio.coroutine
def test_setup_component_test_register_no_startup(hass):
"""Setup ffmpeg component test register without startup."""
"""Set up ffmpeg component test register without startup."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -98,7 +98,7 @@ def test_setup_component_test_register_no_startup(hass):
@asyncio.coroutine
def test_setup_component_test_service_start(hass):
"""Setup ffmpeg component test service start."""
"""Set up ffmpeg component test service start."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -114,7 +114,7 @@ def test_setup_component_test_service_start(hass):
@asyncio.coroutine
def test_setup_component_test_service_stop(hass):
"""Setup ffmpeg component test service stop."""
"""Set up ffmpeg component test service stop."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -130,7 +130,7 @@ def test_setup_component_test_service_stop(hass):
@asyncio.coroutine
def test_setup_component_test_service_restart(hass):
"""Setup ffmpeg component test service restart."""
"""Set up ffmpeg component test service restart."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -147,7 +147,7 @@ def test_setup_component_test_service_restart(hass):
@asyncio.coroutine
def test_setup_component_test_service_start_with_entity(hass):
"""Setup ffmpeg component test service start."""
"""Set up ffmpeg component test service start."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -164,7 +164,7 @@ def test_setup_component_test_service_start_with_entity(hass):
@asyncio.coroutine
def test_setup_component_test_run_test_false(hass):
"""Setup ffmpeg component test run_test false."""
"""Set up ffmpeg component test run_test false."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {
@ -180,7 +180,7 @@ def test_setup_component_test_run_test_false(hass):
@asyncio.coroutine
def test_setup_component_test_run_test(hass):
"""Setup ffmpeg component test run_test."""
"""Set up ffmpeg component test run_test."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
@ -206,7 +206,7 @@ def test_setup_component_test_run_test(hass):
@asyncio.coroutine
def test_setup_component_test_run_test_test_fail(hass):
"""Setup ffmpeg component test run_test."""
"""Set up ffmpeg component test run_test."""
with assert_setup_component(2):
yield from async_setup_component(
hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})