~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

  • Committer: Aaron Bentley
  • Date: 2007-06-14 23:24:59 UTC
  • mto: (2520.5.2 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070614232459-hpa3sbawd71o7u3d
Reactivate some testing, fix topo_iter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1053
1053
        # This should also validate the generated bundle 
1054
1054
        bundle = read_bundle(bundle_txt)
1055
1055
        repository = self.b1.repository
1056
 
        return bundle
1057
1056
        for bundle_rev in bundle.real_revisions:
1058
1057
            # These really should have already been checked when we read the
1059
1058
            # bundle, since it computes the sha1 hash for the revision, which
1067
1066
                                 getattr(bundle_rev, a))
1068
1067
            self.assertEqual(len(branch_rev.parent_ids), 
1069
1068
                             len(bundle_rev.parent_ids))
1070
 
        self.assertEqual(rev_ids, 
1071
 
                         [r.revision_id for r in bundle.real_revisions])
 
1069
        self.assertEqual(set(rev_ids),
 
1070
                         set([r.revision_id for r in bundle.real_revisions]))
1072
1071
        self.valid_apply_bundle(base_rev_id, bundle,
1073
1072
                                   checkout_dir=checkout_dir)
1074
1073