def test_merge_id_schema(hass):
 types = {'panel_custom': 'list', 'group': 'dict', 'script': 'dict', 'input_boolean': 'dict', 'shell_command': 'dict', 'qwikswitch': ''}
 for (name, expected_type) in types.items():
  module = config_util.get_component(name)
  (typ, _) = config_util._identify_config_schema(module)
  assert (typ == expected_type), '{} expected {}, got {}'.format(name, expected_type, typ)

def test_merge_id_schema ( hass ) : types = { 'panel_custom' : 'list' , 'group' : 'dict' , 'script' : 'dict' , 'input_boolean' : 'dict' , 'shell_command' : 'dict' , 'qwikswitch' : '' } for ( name , expected_type ) in types . items ( ) : module = config_util . get_component ( name ) ( typ , _ ) = config_util . _identify_config_schema ( module ) assert ( typ == expected_type ) , '{} expected {}, got {}' . format ( name , expected_type , typ )
test if we identify the config schemas correctly .