/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_branch.py

ImplementĀ GitBranch.__repr__.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        thebranch = Branch.open('.')
52
52
        self.assertIsInstance(thebranch, branch.GitBranch)
53
53
 
 
54
    def test_repr(self):
 
55
        tests.run_git('init')
 
56
        thebranch = Branch.open('.')
 
57
        self.assertEquals("LocalGitBranch('file://%s/', 'HEAD')" % self.test_dir, repr(thebranch))
 
58
 
54
59
    def test_last_revision_is_null(self):
55
60
        tests.run_git('init')
56
61