/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

Fix handling of remote branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
    def test_branch(self):
259
259
        self.assertEquals("frost", branch.ref_to_branch_name("refs/heads/frost"))
260
260
        self.assertEquals("refs/heads/frost", branch.branch_name_to_ref("frost"))
 
261
 
 
262
    def test_default(self):
 
263
        self.assertEquals("mydefault",
 
264
            branch.branch_name_to_ref(None, "mydefault"))
 
265
        self.assertEquals(None,
 
266
            branch.branch_name_to_ref(None))
 
267
 
 
268