(test_dict)
return test_dict
convert keys in test_dict to lower case, convertion will occur in two places:
        1, all keys in test_dict;
        2, all keys in test_dict["request"]
convert keys in test_dict to lower case, convertion will occur in two places:
        1, all keys in test_dict;
        2, all keys in test_dict["request"]
convert keys in test_dict to lower case convertion will occur in two places : 1 all keys in test_dict ; 2 all keys in test_dict [ request ]
def lower_test_dict_keys(test_dict):
    """ convert keys in test_dict to lower case, convertion will occur in two places:
        1, all keys in test_dict;
        2, all keys in test_dict["request"]
    """
    # convert keys in test_dict
    test_dict = lower_dict_keys(test_dict)

    if "request" in test_dict:
        # convert keys in test_dict["request"]
        test_dict["request"] = lower_dict_keys(test_dict["request"])

    return test_dict
def lower_test_dict_keys ( test_dict ) : # convert keys in test_dict test_dict = lower_dict_keys ( test_dict ) if "request" in test_dict : # convert keys in test_dict["request"] test_dict [ "request" ] = lower_dict_keys ( test_dict [ "request" ] ) return test_dict