~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: abentley
  • Date: 2006-04-20 23:47:53 UTC
  • mfrom: (1681 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1683.
  • Revision ID: abentley@lappy-20060420234753-6a6874b76f09f86d
Merge bzr.dev

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)