/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

Add some more format tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        self.assertEquals({"foo": default_mapping.revision_id_foreign_to_bzr(reva)},
116
116
                          thebranch.tags.get_tag_dict())
117
117
 
118
 
        
 
118
 
119
119
 
120
120
class TestWithGitBranch(tests.TestCaseWithTransport):
121
121
 
129
129
        self.assertIs(None, self.git_branch.get_parent())
130
130
 
131
131
    def test_get_stacked_on_url(self):
132
 
        self.assertRaises(errors.UnstackableBranchFormat, 
 
132
        self.assertRaises(errors.UnstackableBranchFormat,
133
133
            self.git_branch.get_stacked_on_url)
134
134
 
135
135
    def test_get_physical_lock_status(self):
145
145
    def test_get_format_description(self):
146
146
        self.assertEquals("Git Branch", self.format.get_format_description())
147
147
 
 
148
    def test_get_network_name(self):
 
149
        self.assertEquals("git", self.format.network_name())
 
150
 
 
151
    def test_supports_tags(self):
 
152
        self.assertTrue(self.format.supports_tags())
148
153
 
149
154
 
150
155
class BranchTests(tests.TestCaseInTempDir):