'Testing SVG output using GeoQuerySet.svg().'

def test03d_svg(self):

    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(svg1, City.objects.svg().get(name='Pueblo').svg)
    self.assertEqual(svg2, City.objects.svg(relative=5).get(name='Pueblo').svg)
