summaryrefslogtreecommitdiff
path: root/tests/gis_tests/layermap
AgeCommit message (Collapse)Author
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-11Removed unneeded GeoManagers in tests.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-05Cleanup: Removed the try-except-fail antipattern from testsShai Berger
Found cases where testing code was doing try: whatever except (some excption type): self.fail("exception shouldn't be thrown") replaced it with just whatever as this makes the unexpected errors easier to debug, and the tests would fail just as much and aren't rendered less readable. Thanks Markus Holtermann for review
2015-04-18Stopped conditional discovery of gis_tests appsClaude Paroz
Refs #23879.
2015-03-21Revert "Removed unneeded app_label definitions in gis_tests"Claude Paroz
This reverts commit e0cc36f615f70061e034f5ba3f4e75330f51d3ca. The problem is the following: * With non-gis backends, gis_tests sub apps are not discovered (see runtests.py) * Consequently, the app_label is inferred from the gis_tests AppConfig * Then models with same names in different sub apps conflict because of same model_name/app_label pair.
2015-03-21Removed unneeded app_label definitions in gis_testsClaude Paroz
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583.
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham