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:
parent
4222f7562b
commit
08fe7c3ece
223 changed files with 6747 additions and 7237 deletions
|
@ -31,8 +31,8 @@ class TestHelpers(unittest.TestCase):
|
|||
'zone 100': None,
|
||||
}
|
||||
|
||||
self.assertEqual(set(['zone', 'zone Hallo', 'zone 100']),
|
||||
set(helpers.extract_domain_configs(config, 'zone')))
|
||||
assert set(['zone', 'zone Hallo', 'zone 100']) == \
|
||||
set(helpers.extract_domain_configs(config, 'zone'))
|
||||
|
||||
def test_config_per_platform(self):
|
||||
"""Test config per platform method."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue