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
|