~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-20 02:28:21 UTC
  • mfrom: (1666.1.10 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060420022821-4337b8fa4942d8fe
Make knits the default format.

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)