From c029fe2f9506c8705a84d3bd84d95c159eb1569c Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Fri, 10 Aug 2012 13:26:03 +0200 Subject: [PATCH] ix participant tests --- openslides/participant/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/participant/tests.py b/openslides/participant/tests.py index e8fcff2b7..fc76ae0f3 100644 --- a/openslides/participant/tests.py +++ b/openslides/participant/tests.py @@ -55,7 +55,7 @@ class OpenSlidesUserTest(TestCase): self.assertTrue(hasattr(self.openslidesuser1, 'person_id')) self.assertEqual(self.openslidesuser1.person_id, 'openslides_user:1') self.assertEqual(get_person('openslides_user:1'), self.openslidesuser1) - self.assertEqual(len(Persons()), 1) + self.assertEqual(len(Persons(person_prefix='openslides_user')), 1) def test_save_name(self): self.assertEqual(self.openslidesuser1.first_name, self.user1.first_name)