This file is indexed.

/usr/share/pyshared/pebl/test/test_pebl_script.py is in python-pebl 1.0.2-2+b1.

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
24
25
26
27
28
29
30
31
32
33
34
35
36
from __future__ import with_statement
import textwrap 
import tempfile
import os.path
import shutil

from pebl import pebl_script
from pebl.test import testfile

class TestHtmlReport:
    def setup(self):
        self.tempdir = tempfile.mkdtemp()
        self.outdir = os.path.join(self.tempdir, 'result')

        htmlreport_config = textwrap.dedent("""
        [data]
        filename = %s

        [result]
        format = html
        outdir = %s
        """ % (testfile("testdata12.txt"), self.outdir))
        
        configfile = os.path.join(self.tempdir, "config.txt")
        with file(configfile, 'w') as f:
            f.write(htmlreport_config)

    def teardown(self):
        shutil.rmtree(self.tempdir)

    def test_htmlreport(self):
        pebl_script.run(os.path.join(self.tempdir, 'config.txt'))
        os.path.exists(os.path.join(self.outdir, 'index.html'))