'Test config per platform method.'

def test_config_per_platform(self):

    config = OrderedDict([('zone', {'platform': 'hello'}), ('zoner', None), ('zone    Hallo', [1, {'platform': 'hello    2'}]), ('zone    100', None)])
    assert ([('hello', config['zone']), (None, 1), ('hello    2', config['zone    Hallo'][1])] == list(helpers.config_per_platform(config, 'zone')))
