Changeset 8040 for django/branches/gis/django/contrib/gis/tests
- Timestamp:
- 07/21/08 21:43:47 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis/django/contrib/gis/tests/test_geos.py
r7463 r8040 108 108 109 109 def test01j_eq(self): 110 "Testing equivalence with WKT."110 "Testing equivalence." 111 111 p = fromstr('POINT(5 23)') 112 112 self.assertEqual(p, p.wkt) … … 115 115 self.assertEqual(ls, ls.wkt) 116 116 self.assertNotEqual(p, 'bar') 117 # Error shouldn't be raise on equivalence testing with 118 # an invalid type. 119 for g in (p, ls): 120 self.assertNotEqual(g, None) 121 self.assertNotEqual(g, {'foo' : 'bar'}) 122 self.assertNotEqual(g, False) 117 123 118 124 def test02a_points(self):
