Update voluputous (#12463)
* Update voluputous * Fix http config * Fix optional with default=None * Optional, default=none * Fix defaults in voluptuous schemas * Fix tests * Fix update error * Lint
This commit is contained in:
parent
e4ef6b91d6
commit
3fd61d8f45
88 changed files with 207 additions and 255 deletions
|
@ -50,6 +50,9 @@ class TestCheckConfig(unittest.TestCase):
|
|||
# Py34: AssertionError
|
||||
asyncio.set_event_loop(asyncio.new_event_loop())
|
||||
|
||||
# Will allow seeing full diff
|
||||
self.maxDiff = None
|
||||
|
||||
# pylint: disable=no-self-use,invalid-name
|
||||
def test_config_platform_valid(self):
|
||||
"""Test a valid platform setup."""
|
||||
|
@ -176,8 +179,6 @@ class TestCheckConfig(unittest.TestCase):
|
|||
'login_attempts_threshold': -1,
|
||||
'server_host': '0.0.0.0',
|
||||
'server_port': 8123,
|
||||
'ssl_certificate': None,
|
||||
'ssl_key': None,
|
||||
'trusted_networks': [],
|
||||
'use_x_forwarded_for': False}},
|
||||
'except': {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue