[SQL-CVS] SQLObject/tests test.py,1.11,1.12
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <ian...@us...> - 2003-05-06 22:43:40
|
Update of /cvsroot/sqlobject/SQLObject/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv9293/tests
Modified Files:
test.py
Log Message:
* Col objects are more like definitions/factories, SO* classes
do the actual work (to the degree there is work there)
* SQLObject classes can inherit from each other
* New ._SO_columns attribute that holds the non-factory columns
Index: test.py
===================================================================
RCS file: /cvsroot/sqlobject/SQLObject/tests/test.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** test.py 6 May 2003 21:02:00 -0000 1.11
--- test.py 6 May 2003 22:43:35 -0000 1.12
***************
*** 363,369 ****
def testSuper(self):
- return
- print 'super', Super._columns
- print 'sub', Sub._columns
s1 = Super.new(name='one')
s2 = Super.new(name='two')
--- 363,366 ----
***************
*** 372,376 ****
def testSub(self):
- return
s1 = Sub.new(name='one', name2='1')
s2 = Sub.new(name='two', name2='2')
--- 369,372 ----
|