This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/ftests/journal_reports.txt is in python-schooltool.gradebook 2.6.3-0ubuntu1.

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
37
38
39
40
41
42
43
Journal Report Request Views
----------------------------

Log in as manager:

    >>> manager = Browser('manager', 'schooltool')

We'll set up a default school with a single section:

    >>> from schooltool.app.browser.ftests import setup
    >>> setup.setUpBasicSchool()
    >>> setup.addCourse('Math I', '2005-2006')
    >>> setup.addSection('Math I', '2005-2006', 'Fall',
    ...                  instructors=[],
    ...                  members=[])

We'll go to the report reference view to make sure our registered report
adapters are reflected there.

    >>> manager.getLink('Manage').click()
    >>> manager.getLink('Reports').click()
    >>> report_names =  manager.queryHTML('//table//tr/td[2]/a/text()')
    >>> 'Absences by Section' in report_names
    True
    >>> 'Absences By Day' in report_names
    True

Let's look at them

    >>> manager.getLink('2005-2006').click()
    >>> manager.getLink('Reports').click()
    >>> report_names =  manager.queryHTML('//li/a/text()')
    >>> 'Absences By Day' in report_names
    True

    >>> manager.getLink('2005-2006').click()
    >>> manager.getLink('Fall').click()
    >>> manager.getLink('Sections').click()
    >>> manager.getLink('Math I (1)').click()
    >>> manager.getLink('Reports').click()
    >>> report_names =  manager.queryHTML('//li/a/text()')
    >>> 'Absences by Section' in report_names
    True