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
@@ -66,7 +66,7 @@ class TestSleepIQ(unittest.TestCase):
|
||||
json=load_fixture('sleepiq-login-failed.json'))
|
||||
|
||||
response = sleepiq.setup(self.hass, self.config)
|
||||
self.assertFalse(response)
|
||||
assert not response
|
||||
|
||||
def test_setup_component_no_login(self):
|
||||
"""Test the setup when no login is configured."""
|
||||
|
||||
Reference in new issue
Block a user