def METHOD_NAME(self):
    segment = self.getSegment_line()
    segment.type = "curve"
    coordinates = tuple((point.x, point.y) for point in segment.points)
    self.assertEqual(
        coordinates,
        ((0, 0), (101, 202), (101, 202))
    )