~free.ekanayaka/storm/any-expr

« back to all changes in this revision

Viewing changes to tests/cache.py

  • Committer: Jamu Kakar
  • Date: 2009-11-24 19:10:43 UTC
  • mfrom: (327.2.4 default-c-extensions)
  • Revision ID: jkakar@kakar.ca-20091124191043-z45n74ff1ebnh4w3
Merged default-c-extensions [r=jamesh,therve] [f=410592]

Storm's C extensions are enabled by default.  They can be disabled
by defining the STORM_CEXTENSIONS environment variable to '0'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from unittest import defaultTestLoader
 
2
 
1
3
from storm.properties import Int
2
4
from storm.info import get_obj_info
3
5
from storm.cache import Cache, GenerationalCache
379
381
 
380
382
 
381
383
def test_suite():
382
 
    return unittest.TestLoader().loadTestsFromName(__name__)
 
384
    return defaultTestLoader.loadTestsFromName(__name__)