Index: tst_settings_date_and_time/test.py =================================================================== diff -u -r7b7067b231357e205cafaf4ad3c6c61d5c16f2a8 -rc629a21b660f1d0128da2ba5c74f959b9f8170ae --- tst_settings_date_and_time/test.py (.../test.py) (revision 7b7067b231357e205cafaf4ad3c6c61d5c16f2a8) +++ tst_settings_date_and_time/test.py (.../test.py) (revision c629a21b660f1d0128da2ba5c74f959b9f8170ae) @@ -266,10 +266,10 @@ day_upper_limit = DAY_UPPER_LIMIT if (entry < DAY_LOWER_LIMIT) or (entry > day_upper_limit): test.compare(actual_value, entry, "{} value {} should be equal to {}".format(date_time_parameter, actual_value, entry)) - test.compare(input_field_color, config.OUT_OF_RANGE_COLOR, "Day value {} is out of range, Day value should be in range of {} and {}".format(entry, DAY_LOWER_LIMIT, DAY_UPPER_LIMIT)) + test.compare(input_field_color, config.OUT_OF_RANGE_COLOR, "Day value {} is out of range, Day value should be in range of {} and {}".format(entry, DAY_LOWER_LIMIT, day_upper_limit)) elif (entry >= DAY_LOWER_LIMIT) and (entry <= day_upper_limit): test.xcompare(actual_value, EMPTY_INPUT_FIELD, "{} value {} should be equal to '{}'".format(date_time_parameter, actual_value, EMPTY_INPUT_FIELD)) - test.compare(input_field_color,config.IN_RANGE_COLOR, "Day value {} is in range of {} and {}".format(entry, DAY_LOWER_LIMIT, DAY_UPPER_LIMIT)) + test.compare(input_field_color,config.IN_RANGE_COLOR, "Day value {} is in range of {} and {}".format(entry, DAY_LOWER_LIMIT, day_upper_limit)) elif date_time_parameter is MONTH_TEXT: if (entry < MONTH_LOWER_LIMIT) or (entry > MONTH_UPPER_LIMIT): test.compare(actual_value, entry, "{} value {} should be equal to {}".format(date_time_parameter, actual_value, entry))