Fix broken test.
Fix broken test.

Test was broken with 760c7538ca85e8f0a63ff4cafeea544688083106 as we no
longer our behaviour if DEBUG is set.

rmgorman/django-guardian,rmgorman/django-guardian,lukaszb/django-guardian,benkonrath/django-guardian,rmgorman/django-guardian,benkonrath/django-guardian,lukaszb/django-guardian,benkonrath/django-guardian,lukaszb/django-guardian