def METHOD_NAME(self):
    segment = self.getSegment_line()
    segment.type = "curve"
    types = tuple(point.type for point in segment.points)
    self.assertEqual(
        types,
        ("offcurve", "offcurve", "curve")
    )