def METHOD_NAME(self):
    self.ProductAttributeFuel.min_val = 20
    self.ProductAttributeFuel.max_val = 30
    self.ProductAttributeFuel.custom_type = "char"
    self.ProductAttributeFuel.onchange_custom_type()
    self.assertEqual(self.ProductAttributeFuel.min_val, 0, "Min value is not False")
    self.assertEqual(self.ProductAttributeFuel.max_val, 0, "Max value is not False")
    self.ProductAttributeFuel.min_val = 20
    self.ProductAttributeFuel.max_val = 30
    self.ProductAttributeFuel.custom_type = "integer"
    self.ProductAttributeFuel.onchange_custom_type()
    self.assertEqual(
        self.ProductAttributeFuel.min_val,
        20,
        "Min value is not equal to existing min value",
    )
    self.assertEqual(
        self.ProductAttributeFuel.max_val,
        30,
        "Max value is not equal to existing max value",
    )
    self.ProductAttributeFuel.custom_type = "float"
    self.ProductAttributeFuel.onchange_custom_type()
    self.assertEqual(
        self.ProductAttributeFuel.min_val,
        20,
        "Min value is equal to existing min value \
        when type is changed to integer to float",
    )
    self.assertEqual(
        self.ProductAttributeFuel.max_val,
        30,
        "Max value is equal to existing max value \
        when type is changed to integer to float",
    )
    self.ProductAttributeFuel.custom_type = "binary"
    self.ProductAttributeFuel.onchange_custom_type()
    self.assertFalse(
        self.ProductAttributeFuel.search_ok,
        "Error: if search true\
        Method: onchange_custom_type()",
    )