Filter out falsey platform configs
This commit is contained in:
parent
d3a012a536
commit
ac4e54c6ff
3 changed files with 19 additions and 10 deletions
|
@ -45,5 +45,4 @@ class TestHelpers(unittest.TestCase):
|
|||
('hello', config['zone']),
|
||||
(None, 1),
|
||||
('hello 2', config['zone Hallo'][1]),
|
||||
(None, None)
|
||||
] == list(helpers.config_per_platform(config, 'zone'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue