This file is indexed.

/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/tests/test_cbranch.py is in bzrtools 2.6.0-1.

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
from unittest import makeSuite

from bzrlib.config import LocationConfig
from bzrlib import osutils
from bzrlib.tests import TestCaseWithTransport

from bzrlib.plugins.bzrtools.cbranch import cbranch


class TestCBranch(TestCaseWithTransport):

    def test_cbranch_creates_containing_dirs(self):
        source = self.make_branch_and_tree('source')
        config = LocationConfig(osutils.abspath('target'))
        config.set_user_option('cbranch_target',
                               'directory/subdirectory/target_branch')
        cbranch('source', 'target')
        self.assertPathExists('directory/subdirectory/target_branch')


def test_suite():
    return makeSuite(TestBzrTools)