Fix permmod tests on Django 1.6