summaryrefslogtreecommitdiff
path: root/django/contrib/gis/tests/utils.py
AgeCommit message (Collapse)Author
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham
2014-08-26Removed some more hardcoded backends in GIS testsClaude Paroz
Refs #22632. Thanks Tim Graham for the review.
2014-08-23Replaced no_mysql by connection featuresClaude Paroz
Refs #22632. Thanks Tim Graham for the review.
2014-08-23Replaced no_spatialite by connection featuresClaude Paroz
Refs #22632. Thanks Tim Graham for the review.
2014-08-23Replaced HAS_SPATIALREFSYS by a database featureClaude Paroz
2014-08-19Replaced HAS_SPATIAL_DB by testing database featureClaude Paroz
Refs #22632. This should be the base for using more database features to exclude specific backends in GIS tests. Thanks Tim Graham for the review.
2014-06-08Gave unique names to SpatialRefSysModels.Aymeric Augustin
Prevented clashes in the app registry. Fixed #22790. Thanks timo for the report.
2013-11-02Continue to attack E302 violationsAlex Gaynor
2013-10-22Fixed E221 pep8 warnings.Tim Graham
2013-10-17Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol
2013-09-24Properly marked skipped GIS tests as skippedClaude Paroz
2013-05-10Fixed #17365, #17366, #18727 -- Switched to discovery test runner.Carl Meyer
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
2012-10-27Ensured gis tests aren't run on non-gis OracleAnssi Kääriäinen
2012-06-17Fixed GIS testsuite.Florian Apolloner
Moved HAS_SPATIALREFSYS back into the tests namespace since it only operates on the default database and isn't a global flag like HAS_GDAL.
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30Refactored and cleaned up parts of the spatial database backend. Changes ↵Justin Bronn
include: * Laid foundations for SpatiaLite support in `GeoQuerySet`, `GeoWhereNode` and the tests. * Added the `Collect` aggregate for PostGIS (still needs tests). * Oracle now goes to 11. * The backend-specific `SpatialRefSys` and `GeometryColumns` models are now attributes of `SpatialBackend`. * Renamed `GeometryField` attributes to be public that were private (e.g., `_srid` -> `srid` and `_geom` -> `geom_type`). * Renamed `create_test_db` to `create_test_spatial_db`. * Removed the legacy classes `GeoMixin` and `GeoQ`. * Removed evil `\` from spatial backend fields. * Moved shapefile data from `tests/layermap` to `tests/data`. Fixed #9794. Refs #9686. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05Merged the gis branch into trunk.Justin Bronn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8219 bcc190cf-cafb-0310-a4f2-bffc1f526a37