[SQL-CVS] SQLObject/tests test.py,1.33,1.34
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-11-04 02:28:38
|
Update of /cvsroot/sqlobject/SQLObject/tests In directory sc8-pr-cvs1:/tmp/cvs-serv2061/tests Modified Files: test.py Log Message: Fixed test that used __len__ Index: test.py =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/tests/test.py,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** test.py 1 Oct 2003 01:53:48 -0000 1.33 --- test.py 4 Nov 2003 02:28:35 -0000 1.34 *************** *** 201,205 **** all = IterTest.select() count = 0 ! for i in range(len(all)): test = all[i] count += 1 --- 201,205 ---- all = IterTest.select() count = 0 ! for i in range(all.count()): test = all[i] count += 1 |