~lifeless/storm/bug-620615

« back to all changes in this revision

Viewing changes to tests/base.py

  • Committer: Gustavo Niemeyer
  • Date: 2007-07-18 21:41:04 UTC
  • mto: This revision was merged to the branch mainline in revision 162.
  • Revision ID: gustavo@niemeyer.net-20070718214104-u0t95jqp7bvv4cu0
- Finished implementation of the C version of ObjectInfo
  and get_obj_info.
- The cextensions module isn't built by default anymore.  We
  don't trust it yet, even though all tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import gc
23
23
 
24
24
from storm.properties import Property, PropertyPublisherMeta
25
 
from storm.info import get_info
 
25
from storm.info import get_obj_info
26
26
from storm.base import *
27
27
 
28
28
from tests.helper import TestHelper
41
41
            __storm_table__ = "table_name"
42
42
            prop = Property(primary=True)
43
43
        obj = Class()
44
 
        get_info(obj) # Build all wanted meta-information.
 
44
        get_obj_info(obj) # Build all wanted meta-information.
45
45
        obj_ref = weakref.ref(obj)
46
46
        del obj
47
47
        gc.collect()