~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_bzrdir/test_bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-12 12:08:58 UTC
  • mto: This revision was merged to the branch mainline in revision 6356.
  • Revision ID: jelmer@samba.org-20111212120858-aouthdns2zpz8lyq
Review tweaks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
686
686
        try:
687
687
            target_branch = repo.bzrdir.create_branch(name='foo')
688
688
        except errors.NoColocatedBranchSupport:
689
 
            return
 
689
            raise TestNotApplicable('Format does not support colocation')
690
690
        reference = branch.BranchReferenceFormat().initialize(
691
691
            repo.bzrdir, target_branch=target_branch)
692
 
        self.assertEqual(set(repo.bzrdir.get_branches().keys()),
693
 
                         set([None, 'foo']))
 
692
        self.assertEqual(set([None, 'foo']),
 
693
                         set(repo.bzrdir.get_branches().keys()))