From: jlaine Date: Tue, 1 Jun 2010 16:17:32 +0000 (+0000) Subject: restore test_slice() X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fdjango-ldapdb.git;a=commitdiff_plain;h=75d4446eb587e435537cc09499a1987a9e35b0f6 restore test_slice() git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@919 e071eeec-0327-468d-9b6a-08194a12b294 --- diff --git a/examples/tests.py b/examples/tests.py index 1ed9e04..af8867c 100644 --- a/examples/tests.py +++ b/examples/tests.py @@ -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:]