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
@@ -31,7 +31,7 @@ class TestMfiSensorSetup(unittest.TestCase):
|
||||
}
|
||||
|
||||
def setup_method(self, method):
|
||||
"""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, method):
|
||||
@@ -131,7 +131,7 @@ class TestMfiSensor(unittest.TestCase):
|
||||
"""Test for mFi sensor platform."""
|
||||
|
||||
def setup_method(self, method):
|
||||
"""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.port = mock.MagicMock()
|
||||
self.sensor = mfi.MfiSensor(self.port, self.hass)
|
||||
|
||||
Reference in new issue
Block a user