From 75d4446eb587e435537cc09499a1987a9e35b0f6 Mon Sep 17 00:00:00 2001 From: jlaine Date: Tue, 1 Jun 2010 16:17:32 +0000 Subject: [PATCH] restore test_slice() git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@919 e071eeec-0327-468d-9b6a-08194a12b294 --- examples/tests.py | 4 ---- 1 file changed, 4 deletions(-) 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:] -- 2.30.2