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
@@ -39,7 +39,7 @@ class TestVultr(unittest.TestCase):
|
||||
return_value=json.loads(
|
||||
load_fixture('vultr_server_list.json'))):
|
||||
response = vultr.setup(self.hass, self.config)
|
||||
self.assertTrue(response)
|
||||
assert response
|
||||
|
||||
def test_setup_no_api_key(self):
|
||||
"""Test failed setup with missing API Key."""
|
||||
|
||||
Reference in new issue
Block a user