Running some test labels individually results in PendingDeprecationWarnings
|Reported by:||Marc Tamlyn||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
python -Wall runtests.py file_uploads
This seems to be because
tests/urls.py includes urls from
admin_widgets which has models imported, which are not installed.
The easy fix would be to ensure every model in
file_uploads specifies an
app_label. The better fix would be to get rid of the global
tests.urls file in favour of
TestCase.urls, at least for these two app labels.