This file is indexed.

/usr/lib/python2.7/dist-packages/unity/tests/test_gobject_introspection.py is in unity-autopilot 7.5.0+18.04.20180413-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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
# Copyright 2013 Canonical
# Author: Iain Lane
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.

from __future__ import absolute_import

from testtools import TestCase

class GirTests(TestCase):

    """ Test that GOBject Intospection bindings can imported """

    def setUp(self):
        super(GirTests, self).setUp()

    def test_appindicator_import(self):
        imported = False

        try:
            from gi.repository import AppIndicator3
            imported = True
        except ImportError:
            # failed
            pass

        self.assertTrue(imported)

    def test_dbusmenu_import(self):
        imported = False

        try:
            from gi.repository import Dbusmenu
            imported = True
        except ImportError:
            # failed
            pass

        self.assertTrue(imported)

    def test_dee_import(self):
        imported = False

        try:
            from gi.repository import Dee
            imported = True
        except ImportError:
            # failed
            pass

        self.assertTrue(imported)

    def test_unity_import(self):
        imported = False

        try:
            from gi.repository import Unity
            imported = True
        except ImportError:
            # failed
            pass

        self.assertTrue(imported)