/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/interrepository_implementations/test_interrepository.py

  • Committer: Martin Pool
  • Date: 2009-03-23 07:25:27 UTC
  • mfrom: (4183 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4189.
  • Revision ID: mbp@sourcefrog.net-20090323072527-317my4n8zej1g6v9
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        self.assertFalse(repo_b.has_revision('rev2'))
127
127
        result = repo_b.search_missing_revision_ids(repo_a)
128
128
        self.assertEqual(set(['rev2']), result.get_keys())
129
 
        self.assertEqual((set(['rev2']), set(['rev1']), 1), result.get_recipe())
 
129
        self.assertEqual(('search', set(['rev2']), set(['rev1']), 1),
 
130
            result.get_recipe())
130
131
 
131
132
    def test_search_missing_revision_ids_absent_requested_raises(self):
132
133
        # Asking for missing revisions with a tip that is itself absent in the
152
153
        repo_a = self.bzrdir.open_repository()
153
154
        result = repo_b.search_missing_revision_ids(repo_a, revision_id='rev1')
154
155
        self.assertEqual(set(['rev1']), result.get_keys())
155
 
        self.assertEqual((set(['rev1']), set([NULL_REVISION]), 1),
 
156
        self.assertEqual(('search', set(['rev1']), set([NULL_REVISION]), 1),
156
157
            result.get_recipe())
157
158
 
158
159
    def test_fetch_fetches_signatures_too(self):