This file is indexed.

/usr/lib/python3/dist-packages/cliff/tests/test_command.py is in python3-cliff 1.4.5-1ubuntu2.

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
from cliff.command import Command


class TestCommand(Command):
    """Description of command.
    """

    def take_action(self, parsed_args):
        return


def test_get_description():
    cmd = TestCommand(None, None)
    desc = cmd.get_description()
    assert desc == "Description of command.\n    "


def test_get_parser():
    cmd = TestCommand(None, None)
    parser = cmd.get_parser('NAME')
    assert parser.prog == 'NAME'