~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/revisionstore_implementations/test_all.py

  • Committer: Robert Collins
  • Date: 2006-04-19 23:32:08 UTC
  • mto: (1711.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1674.
  • Revision ID: robertc@robertcollins.net-20060419233208-2ed6906796994316
Make knit the default format.
Adjust affect tests to either have knit specific values or to be more generic,
as appropriate.
Disable all SFTP prefetching for known paramikos - direct readv support is now
a TODO.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        # we get a revision count and a numeric size figure from total_size().
108
108
        count, bytes = self.store.total_size(self.transaction)
109
109
        self.assertEqual(0, count)
110
 
        self.assertEqual(0, bytes)
 
110
        # some stores use disk immediately that they are created so we just 
 
111
        # check that its an int.
 
112
        self.assertIsInstance(bytes, (int, long))
111
113
        self.add_sample_rev()
112
114
        count, bytes = self.store.total_size(self.transaction)
113
115
        self.assertEqual(1, count)