Ticket #14060: geography_exact_fail.diff

File geography_exact_fail.diff, 573 bytes (added by jbronn, 14 years ago)
  • django/contrib/gis/tests/geogapp/tests.py

     
    7272            self.assertEqual(num_poly, len(c.mpoly))
    7373            self.assertEqual(name, c.name)
    7474            self.assertEqual(state, c.state)
     75
     76    def test06_geography_adapter(self):
     77        # Try to get Victoria by equivalence comparison.
     78        c = City.objects.get(point="POINT (-123.305196 48.462611)")
Back to Top