Adapt to the new test discovery in Django 1.6.