~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir_colo/test_unsupported.py

Merge bzr.dev and tree-file-ids-as-tuples.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        self.assertRaises(errors.NoColocatedBranchSupport,
70
70
            made_control.get_branch_reference, "colo")
71
71
 
 
72
    def test_set_branch_reference(self):
 
73
        referenced = self.make_branch('referenced')
 
74
        made_control = self.make_bzrdir_with_repo()
 
75
        self.assertRaises(errors.NoColocatedBranchSupport,
 
76
            made_control.set_branch_reference, referenced, name="colo")
 
77
 
72
78
    def test_get_branches(self):
73
79
        made_control = self.make_bzrdir_with_repo()
74
80
        made_control.create_branch()
75
81
        self.assertEqual(made_control.get_branches().keys(),
76
 
                         [None])
 
82
                         [""])