~jbaker/storm/nose_plugin

« back to all changes in this revision

Viewing changes to tests/store/base.py

  • Committer: Thomas Hervé
  • Date: 2009-11-30 11:35:02 UTC
  • Revision ID: thomas@canonical.com-20091130113502-wl3a7pacz3cv5wl6
Update whitebox test checking the default size of the cache [trivial]

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
 
147
147
    def test_wb_default_cache_size(self):
148
148
        store = Store(DummyDatabase())
149
 
        self.assertEquals(store._cache._size, 100)
 
149
        self.assertEquals(store._cache._size, 1000)
150
150
 
151
151
 
152
152
class StoreTest(object):
5870
5870
        self.assertEquals(self.empty.intersection(self.empty), self.empty)
5871
5871
        self.assertEquals(self.empty.intersection(self.result), self.empty)
5872
5872
        self.assertEquals(self.result.intersection(self.empty), self.empty)
5873