~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.py

Reconcile NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
        # unfortunately this log entry is branch format specific. We could 
286
286
        # factor out the 'what files does this format use' to a method on the 
287
287
        # repository, which would let us to this generically. RBC 20060419
 
288
        # RBC 20080408: Or perhaps we can assert that no files are fully read
 
289
        # twice?
288
290
        self.assertEqual(1, self._count_log_matches('/ce/id.kndx', http_logs))
289
291
        self.assertEqual(1, self._count_log_matches('/ce/id.knit', http_logs))
290
 
        self.assertEqual(1, self._count_log_matches('inventory.kndx', http_logs))
 
292
        # XXX: This *should* be '1', but more intrusive fetch changes are
 
293
        # needed to drop this back to 1.
 
294
        self.assertEqual(2, self._count_log_matches('inventory.kndx', http_logs))
291
295
        # this r-h check test will prevent regressions, but it currently already 
292
296
        # passes, before the patch to cache-rh is applied :[
293
297
        self.assertTrue(1 >= self._count_log_matches('revision-history',
311
315
        self.log('\n'.join(http_logs))
312
316
        self.assertEqual(1, self._count_log_matches('branch-format', http_logs))
313
317
        self.assertEqual(1, self._count_log_matches('branch/format', http_logs))
314
 
        self.assertEqual(1, self._count_log_matches('repository/format', http_logs))
 
318
        self.assertEqual(1, self._count_log_matches('repository/format',
 
319
            http_logs))
315
320
        self.assertTrue(1 >= self._count_log_matches('revision-history',
316
321
                                                     http_logs))
317
322
        self.assertTrue(1 >= self._count_log_matches('last-revision',