

def test_svg(self):
    'Testing SVG output using GeoQuerySet.svg().'
    if (mysql or oracle):
        self.assertRaises(NotImplementedError, City.objects.svg)
        return
    self.assertRaises(TypeError, City.objects.svg, precision='foo')
    svg1 = 'cx="-104.609252" cy="-38.255001"'
    svg2 = svg1.replace('c', '')
    self.assertEqual(svg2, City.objects.svg().get(name='Pueblo').svg)
    self.assertEqual(svg2, City.objects.svg(relative=5).get(name='Pueblo').svg)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py GeoQuerySetTest.test_svg/VarMisuse@73/122 `svg1`->`svg2`