From 5c1804f4847b527cb5a92372591275f3c21680c1 Mon Sep 17 00:00:00 2001 From: David Rousselie Date: Thu, 2 Nov 2006 19:37:42 +0100 Subject: [PATCH] Make test_time_handler run faster darcs-hash:20061102183742-86b55-044c2a6b9d511b8d479e8028330e898b945608e5.gz --- tests/jcl/jabber/test_component.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/jcl/jabber/test_component.py b/tests/jcl/jabber/test_component.py index d263581..80f790d 100644 --- a/tests/jcl/jabber/test_component.py +++ b/tests/jcl/jabber/test_component.py @@ -121,7 +121,6 @@ class JCLComponent_TestCase(unittest.TestCase): "localhost", "5347", 'sqlite://' + DB_URL) - self.comp.account_class = Account self.max_tick_count = 2 self.saved_time_handler = None @@ -246,7 +245,7 @@ class JCLComponent_TestCase(unittest.TestCase): def test_time_handler(self): self.comp.time_unit = 1 - self.max_tick_count = 2 + self.max_tick_count = 1 self.comp.handle_tick = self.__handle_tick_test_time_handler self.comp.stream = MockStream() self.comp.running = True