/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/per_repository/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-23 23:24:37 UTC
  • mto: This revision was merged to the branch mainline in revision 6166.
  • Revision ID: jelmer@samba.org-20110923232437-vykv9t2s8tgimpnw
Skip tests that require ghosts on repositories that don't support ghosts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
 
158
158
    def test_fetch_to_rich_root_set_parent_1_ghost_parent(self):
159
159
        # 1 ghost parent -> No parents
 
160
        if not self.repository_format.supports_ghosts:
 
161
            raise TestNotApplicable("repository format does not support "
 
162
                 "ghosts")
160
163
        self.do_test_fetch_to_rich_root_sets_parents_correctly((),
161
164
            [('tip', ['ghost'], [('add', ('', ROOT_ID, 'directory', ''))]),
162
165
            ], allow_lefthand_ghost=True)