restore test_slice()
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Tue, 1 Jun 2010 16:17:32 +0000 (16:17 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Tue, 1 Jun 2010 16:17:32 +0000 (16:17 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@919 e071eeec-0327-468d-9b6a-08194a12b294

examples/tests.py

index 1ed9e04..af8867c 100644 (file)
@@ -143,13 +143,9 @@ class GroupTestCase(BaseTestCase):
 
         qs = LdapGroup.objects.all()
         objs = qs[:2]
-        for o in objs:
-            return 
-        print objs
         self.assertEquals(len(objs), 2)
         self.assertEquals(objs[0].gid, 1000)
         self.assertEquals(objs[1].gid, 1001)
-        return
 
         qs = LdapGroup.objects.all()
         objs = qs[1:]