/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 bzrlib/tests/test_info.py

  • Committer: Robert Collins
  • Date: 2007-09-27 21:11:38 UTC
  • mfrom: (2871 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2879.
  • Revision ID: robertc@robertcollins.net-20070927211138-ebsu1bo1qz9f1w8n
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
                bzrdir.format_registry.make_bzrdir(format).workingtree_format
98
98
            control.create_workingtree()
99
99
            tree = workingtree.WorkingTree.open('%s_co' % format)
100
 
            self.assertEqual(expected, info.describe_format(tree.bzrdir,
101
 
                tree.branch.repository, tree.branch, tree))
 
100
            format_description = info.describe_format(tree.bzrdir,
 
101
                    tree.branch.repository, tree.branch, tree)
 
102
            self.assertEqual(expected, format_description,
 
103
                "checkout of format called %r was described as %r" %
 
104
                (expected, format_description))
102
105
        finally:
103
106
            control._format.workingtree_format = old_format
104
107
 
128
131
 
129
132
    def test_describe_checkout_format(self):
130
133
        for key in bzrdir.format_registry.keys():
131
 
            if key in ('default', 'weave'):
 
134
            if key in ('default', 'weave', 'experimental'):
 
135
                continue
 
136
            if key.startswith('experimental-'):
 
137
                # these are typically hidden or aliases for other formats
132
138
                continue
133
139
            expected = None
134
140
            if key in ('dirstate', 'dirstate-tags', 'dirstate-with-subtree'):