Remove usage of deprecated initial data in Django's test suite
Initial data was marked as deprecated in 1.7 (f44dbf74a4abf9c45d49568c7ca46363ff6e5112), but there is still usage of it in Django's test suite. I'm guessing the first two usages test the actual feature and can stay until the feature is removed (the deprecation warning needs to be silenced), but I think the gis tests need to be updated to not use it.
$ find . -name 'initial_data.*'
./tests/fixtures/fixtures/initial_data.json
./tests/fixtures_model_package/fixtures/initial_data.json
./django/contrib/gis/tests/relatedapp/fixtures/initial_data.json.gz
./django/contrib/gis/tests/distapp/fixtures/initial_data.json.gz
./django/contrib/gis/tests/geogapp/fixtures/initial_data.json
./django/contrib/gis/tests/geoapp/fixtures/initial_data.json.gz
Change History
(12)
Version: |
1.7-rc-1 → master
|
Owner: |
changed from nobody to Tim Graham
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Well, it's deprecated along with all apps requiring migrations, so this ticket should really be "add migrations to every single test app". I'd vote that we postpone this until the 1.8 release (all contrib apps are now on migrations at least, so the main framework is fine)