This file is indexed.

/usr/lib/python2.7/dist-packages/cherrypy/wsgiserver/test_wsgiserver.py is in python-cherrypy3 8.9.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from mock import mock

import six

from cherrypy import wsgiserver


class TestWSGIGateway_u0:
    @mock.patch('cherrypy.wsgiserver.WSGIGateway_10.get_environ',
        lambda self: {'foo': 'bar'})
    def test_decodes_items(self):
        req = mock.MagicMock(path=b'/', qs=b'')
        gw = wsgiserver.WSGIGateway_u0(req=req)
        env = gw.get_environ()
        assert env['foo'] == 'bar'
        assert isinstance(env['foo'], six.text_type)