Changeset 7572
- Timestamp:
- 06/04/08 12:25:55 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis/django/contrib/gis/tests/relatedapp/tests.py
r7512 r7572 50 50 51 51 # Turning on debug so we can manually verify the number of SQL queries issued. 52 dbg = settings.DEBUG 53 settings.DEBUG = True 52 # DISABLED: the number of queries count testing mechanism is way too brittle. 53 #dbg = settings.DEBUG 54 #settings.DEBUG = True 54 55 from django.db import connection 55 56 … … 64 65 qs = list(City.objects.filter(name=name).transform('location__point', srid)) 65 66 check_pnt(GEOSGeometry(wkt), qs[0].location.point) 66 settings.DEBUG= dbg67 #settings.DEBUG= dbg 67 68 68 69 # Verifying the number of issued SQL queries. 69 self.assertEqual(nqueries, len(connection.queries))70 #self.assertEqual(nqueries, len(connection.queries)) 70 71 71 72 def suite():
