def test_ordered_dict_only_dict():
 schema = vol.Schema(cv.ordered_dict(cv.match_all, cv.match_all))
 for value in (None, [], 100, 'hello'):
  with pytest.raises(vol.MultipleInvalid):
   schema(value)

def test_ordered_dict_only_dict ( ) : schema = vol . Schema ( cv . ordered_dict ( cv . match_all , cv . match_all ) ) for value in ( None , [ ] , 100 , 'hello' ) : with pytest . raises ( vol . MultipleInvalid ) : schema ( value )
test ordered_dict validator .