/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

Fix syntax error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Test the GitDir class"""
18
18
 
19
 
from bzrlib import bzrdir, errors
 
19
from bzrlib import (
 
20
    bzrdir,
 
21
    errors,
 
22
    )
 
23
from bzrlib.tests import TestSkipped
20
24
 
21
 
from bzrlib.plugins.git import dir, tests, workingtree
 
25
from bzrlib.plugins.git import (
 
26
    dir,
 
27
    tests,
 
28
    workingtree,
 
29
    )
22
30
 
23
31
 
24
32
class TestGitDir(tests.TestCaseInTempDir):
29
37
        tests.run_git('init')
30
38
 
31
39
        gd = bzrdir.BzrDir.open('.')
32
 
        self.assertIsInstance(gd, dir.GitDir)
 
40
        self.assertIsInstance(gd, dir.LocalGitDir)
33
41
 
34
42
    def test_open_workingtree(self):
35
43
        tests.run_git('init')
36
44
 
37
45
        gd = bzrdir.BzrDir.open('.')
 
46
        raise TestSkipped
38
47
        wt = gd.open_workingtree()
39
48
        self.assertIsInstance(wt, workingtree.GitWorkingTree)
40
49
 
51
60
 
52
61
    def setUp(self):
53
62
        super(TestGitDirFormat, self).setUp()
54
 
        self.format = dir.GitBzrDirFormat()
 
63
        self.format = dir.LocalGitBzrDirFormat()
55
64
 
56
65
    def test_get_format_description(self):
57
66
        self.assertEquals("Local Git Repository",