def METHOD_NAME(duthosts, enum_rand_one_per_hwsku_hostname, tbinfo):
    """
     This test case will verify thermal local state db data on each hwsku type in chassis
    """
    duthost = duthosts[enum_rand_one_per_hwsku_hostname]
    if duthost.facts['modular_chassis'] == "False":
        pytest.skip("Test skipped applicable to modular chassis only")
    num_thermals = get_expected_num_thermals(duthosts, enum_rand_one_per_hwsku_hostname)
    thermal_out = duthost.command("redis-dump -d 6 -y -k \"TEMP*\"")
    out_dict = json.loads(thermal_out['stdout'])
    pytest_assert(len(list(out_dict.keys())) == num_thermals,
                  "num of thermal sensors incorrect expected {} but got {}"
                  .format(num_thermals, len(list(out_dict.keys()))))
    result = check_therm_data(out_dict)
    pytest_assert(not result,
                  "Warning status incorrect for following thermal sensors:\n{}".format("\n".join(result)))