This file is indexed.

/usr/share/pyshared/z3c/ptcompat/tests.py is in python-z3c.ptcompat 1.0.1-0ubuntu2.

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
17
18
19
20
21
22
23
import unittest

from zope.pagetemplate.tests import test_htmltests as reference


def test_suite():
    return unittest.makeSuite(HTMLTests)


class HTMLTests(reference.HTMLTests):
    def setUp(self):
        import z3c.ptcompat
        import zope.component.testing
        import zope.configuration.xmlconfig
        zope.component.testing.setUp(self)
        zope.configuration.xmlconfig.XMLConfig(
            'configure.zcml', z3c.ptcompat)()

        super(HTMLTests, self).setUp()


if __name__ == '__main__':
    unittest.TextTestRunner().run(test_suite())