From dfe8987aaa0bf25af391fdf92d96bc8b12b8027f Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Fri, 29 Nov 2013 09:09:16 +0000 Subject: [PATCH] Updated geo tests --- tests/fields/geo.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/fields/geo.py b/tests/fields/geo.py index 31ded26a..be29a0b2 100644 --- a/tests/fields/geo.py +++ b/tests/fields/geo.py @@ -75,6 +75,12 @@ class GeoFieldTest(unittest.TestCase): self._test_for_expected_error(Location, coord, expected) Location(loc=[1, 2]).validate() + Location(loc={ + "type": "Point", + "coordinates": [ + 81.4471435546875, + 23.61432859499169 + ]}).validate() def test_linestring_validation(self): class Location(Document):