Pytest tests (#17750)
* Convert core tests
* Convert component tests to use pytest assert
* Lint 🤷♂️
* Fix test
* Fix 3 typos in docs
This commit is contained in:
1 parent
4222f7562b
commit
08fe7c3ece
223 files changed
+6747
-7237
No files matched your search
@@ -31,8 +31,6 @@ class TestMelissa(unittest.TestCase):
|
||||
|
||||
mocked_melissa.Melissa.assert_called_with(
|
||||
username="********", password="********")
|
||||
self.assertIn(melissa.DATA_MELISSA, self.hass.data)
|
||||
self.assertIsInstance(
|
||||
self.hass.data[melissa.DATA_MELISSA], type(
|
||||
mocked_melissa.Melissa())
|
||||
)
|
||||
assert melissa.DATA_MELISSA in self.hass.data
|
||||
assert isinstance(self.hass.data[melissa.DATA_MELISSA], type(
|
||||
mocked_melissa.Melissa()))
|
||||
Reference in new issue
Block a user