~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_info.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-01-14 01:40:02 UTC
  • mfrom: (3177.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080114014002-pz5tya37urp1n3fk
Fix typos of Firefox and OpenOffice.org in docs (Matt Nordhoff)

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
    def test_describe_tree_format(self):
128
128
        for key in bzrdir.format_registry.keys():
129
 
            if key in bzrdir.format_registry.aliases():
 
129
            if key == 'default':
130
130
                continue
131
131
            self.assertTreeDescription(key)
132
132
 
133
133
    def test_describe_checkout_format(self):
134
134
        for key in bzrdir.format_registry.keys():
135
 
            if key in bzrdir.format_registry.aliases():
136
 
                # Aliases will not describe correctly in the UI because the
137
 
                # real format is found.
138
 
                continue
139
 
            # legacy: weave does not support checkouts
140
 
            if key == 'weave':
141
 
                continue
142
 
            if bzrdir.format_registry.get_info(key).experimental:
143
 
                # We don't require that experimental formats support checkouts
144
 
                # or describe correctly in the UI.
 
135
            if key in ('default', 'weave', 'experimental'):
 
136
                continue
 
137
            if key.startswith('experimental-'):
 
138
                # these are typically hidden or aliases for other formats
145
139
                continue
146
140
            expected = None
147
141
            if key in ('dirstate', 'dirstate-tags', 'dirstate-with-subtree',
155
149
 
156
150
    def test_describe_branch_format(self):
157
151
        for key in bzrdir.format_registry.keys():
158
 
            if key in bzrdir.format_registry.aliases():
 
152
            if key == 'default':
159
153
                continue
160
154
            expected = None
161
155
            if key in ('dirstate', 'knit'):
164
158
 
165
159
    def test_describe_repo_format(self):
166
160
        for key in bzrdir.format_registry.keys():
167
 
            if key in bzrdir.format_registry.aliases():
 
161
            if key == 'default':
168
162
                continue
169
163
            expected = None
170
164
            if key in ('dirstate', 'knit', 'dirstate-tags'):