'A superuser has all permissions. Refs #14795.'

def test_get_all_superuser_permissions(self):

    user = self.UserModel._default_manager.get(pk=self.superuser.pk)
    self.assertEqual(len(user.get_all_permissions()), len(Permission.objects.all()))
