'Testing the `make_line` GeoQuerySet method.'

@no_mysql
@no_oracle
@no_spatialite
def test_make_line(self):

    self.assertRaises(TypeError, State.objects.make_line)
    self.assertRaises(TypeError, Country.objects.make_line)
    ref_line = GEOSGeometry('LINESTRING(-95.363151    29.763374,-96.801611    32.782057,-97.521157    34.464642,174.783117    -41.315268,-104.609252    38.255001,-95.23506    38.971823,-87.650175    41.850385,-123.305196    48.462611)', srid=4326)
    self.assertEqual(ref_line, City.objects.make_line())
