/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_dir.py

Eliminate (duplicate) git_ prefix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from bzrlib import bzrdir, errors
20
20
 
21
 
from bzrlib.plugins.git import tests
22
 
from bzrlib.plugins.git import git_dir, git_workingtree
 
21
from bzrlib.plugins.git import dir, tests, workingtree
23
22
 
24
23
 
25
24
class TestGitDir(tests.TestCaseInTempDir):
30
29
        tests.run_git('init')
31
30
 
32
31
        gd = bzrdir.BzrDir.open('.')
33
 
        self.assertIsInstance(gd, git_dir.GitDir)
 
32
        self.assertIsInstance(gd, dir.GitDir)
34
33
 
35
34
    def test_open_workingtree(self):
36
35
        tests.run_git('init')
37
36
 
38
37
        gd = bzrdir.BzrDir.open('.')
39
38
        wt = gd.open_workingtree()
40
 
        self.assertIsInstance(wt, git_workingtree.GitWorkingTree)
 
39
        self.assertIsInstance(wt, workingtree.GitWorkingTree)
41
40
 
42
41
    def test_open_workingtree_bare(self):
43
42
        tests.run_git('--bare', 'init')
52
51
 
53
52
    def setUp(self):
54
53
        super(TestGitDirFormat, self).setUp()
55
 
        self.format = git_dir.GitBzrDirFormat()
 
54
        self.format = dir.GitBzrDirFormat()
56
55
 
57
56
    def test_get_format_description(self):
58
57
        self.assertEquals("Local Git Repository",