Grammar and spelling fixes (#16065)
This commit is contained in:
1 parent
9e1fa7ef42
commit
dbd0763f83
244 files changed
+453
-453
No files matched your search
@@ -17,7 +17,7 @@ class TestDarkSky(unittest.TestCase):
|
||||
"""Test the Dark Sky weather component."""
|
||||
|
||||
def setUp(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.hass.config.units = METRIC_SYSTEM
|
||||
self.lat = self.hass.config.latitude = 37.8267
|
||||
|
||||
@@ -52,7 +52,7 @@ class TestIPMA(unittest.TestCase):
|
||||
"""Test the IPMA weather component."""
|
||||
|
||||
def setUp(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.hass.config.units = METRIC_SYSTEM
|
||||
self.lat = self.hass.config.latitude = 40.00
|
||||
|
||||
@@ -17,7 +17,7 @@ class TestWeather(unittest.TestCase):
|
||||
"""Test the Weather component."""
|
||||
|
||||
def setUp(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.hass.config.units = METRIC_SYSTEM
|
||||
self.assertTrue(setup_component(self.hass, weather.DOMAIN, {
|
||||
|
||||
@@ -83,7 +83,7 @@ class TestWeather(unittest.TestCase):
|
||||
self.DEVICES.append(device)
|
||||
|
||||
def setUp(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.hass.config.units = METRIC_SYSTEM
|
||||
|
||||
|
||||
Reference in new issue
Block a user