From f43b9625e4bf04a4c03a8949c930d623eced02bd Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 23 Oct 2014 11:55:20 +0200 Subject: Removed crochet, and streamlined the reactor shutdown so we shouldn't see errors on user agent start/exit anymore --- service/test/unit/runserver_test.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'service/test/unit/runserver_test.py') diff --git a/service/test/unit/runserver_test.py b/service/test/unit/runserver_test.py index 18621ce7..eed21a6c 100644 --- a/service/test/unit/runserver_test.py +++ b/service/test/unit/runserver_test.py @@ -19,7 +19,6 @@ import sys import pixelated.runserver from mockito import * -import crochet import pixelated.config.reactor_manager as reactor_manager import pixelated.adapter.mail import os @@ -31,7 +30,6 @@ class RunserverTest(unittest.TestCase): def test_that_config_file_can_be_specified_on_command_line(self): orig_config = pixelated.runserver.app.config try: - when(crochet).setup().thenReturn(None) when(reactor_manager).start_reactor().thenReturn(None) when(app_factory).create_app().thenReturn(None) pixelated.runserver.app.config = mock(dict) -- cgit v1.2.3