/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 breezy/tests/per_controldir_colo/test_supported.py

  • Committer: Jelmer Vernooij
  • Date: 2020-05-06 02:13:25 UTC
  • mfrom: (7490.7.21 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200506021325-awbmmqu1zyorz7sj
Merge 3.1 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
        self.assertEqual(target_branch.base,
185
185
                         repo.controldir.get_branches()['foo'].base)
186
186
 
 
187
    def test_branch_names(self):
 
188
        repo = self.make_repository('branch-1')
 
189
        target_branch = self.create_branch(repo.controldir, name='foo')
 
190
        self.assertIn('foo', repo.controldir.branch_names())
 
191
 
187
192
    def test_branch_name_with_slash(self):
188
193
        repo = self.make_repository('branch-1')
189
194
        try: