def METHOD_NAME(self):
    """Non-float retract height should raise ValueError"""
    v1 = FreeCAD.Vector(0, 0, 10)
    v2 = FreeCAD.Vector(0, 0, 0)
    e = Part.makeLine(v1, v2)
    args = {"edge": e, "retractheight": 1}
    self.assertRaises(ValueError, generator.generate, **args)
    args = {"edge": e, "retractheight": "1"}
    self.assertRaises(ValueError, generator.generate, **args)