~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-05 15:31:34 UTC
  • mto: (4343.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4344.
  • Revision ID: v.ladeuil+lp@free.fr-20090505153134-q4bp4is9gywsmzrv
Clean up test for log formats.

* bzrlib/tests/blackbox/test_logformats.py:
Update tests to actual style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
from bzrlib.workingtree import WorkingTree
39
39
 
40
40
# These tests are a bit old; please instead add new tests into
41
 
# per_interrepository/ so they'll run on all relevant
 
41
# interrepository_implementations/ so they'll run on all relevant
42
42
# combinations.
43
43
 
44
44
 
578
578
        self.repo.fetch(self.tree.branch.repository, 'second-id')
579
579
        root_id = self.tree.get_root_id()
580
580
        self.assertEqual(
581
 
            ((root_id, 'left-parent'), (root_id, 'not-ghost-parent')),
 
581
            ((root_id, 'left-parent'), (root_id, 'ghost-parent'),
 
582
             (root_id, 'not-ghost-parent')),
582
583
            self.get_parents(root_id, 'second-id'))
583
584
 
584
585
    def make_two_commits(self, change_root, fetch_twice):