summaryrefslogtreecommitdiff
path: root/service/test/unit
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@thoughtworks.com>2014-10-23 11:55:20 +0200
committerBruno Wagner <bwagner@thoughtworks.com>2014-10-23 11:55:53 +0200
commitf43b9625e4bf04a4c03a8949c930d623eced02bd (patch)
tree9d91a3e09fdf7faf48c5b7e04aea0a1f66101022 /service/test/unit
parent0cca315106906e87ee7694fa860517ca8f248802 (diff)
Removed crochet, and streamlined the reactor shutdown so we shouldn't see errors on user agent start/exit anymore
Diffstat (limited to 'service/test/unit')
-rw-r--r--service/test/unit/runserver_test.py2
1 files changed, 0 insertions, 2 deletions
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)