summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoald de Vries <rdevries@thoughtworks.com>2016-12-08 16:57:15 +0100
committerRoald de Vries <rdevries@thoughtworks.com>2016-12-08 16:57:15 +0100
commit60f9754af482e3a97630f29cac3f8a22ef0335f3 (patch)
treed1f10c968d14885e1fef4a769f29cfb3e388b469
parent6f61691980fe11e2eb9c2b56b1acf16a2ceabce3 (diff)
Revert "[#801] Mocked event server on resource unit test"
This reverts commit 6f61691980fe11e2eb9c2b56b1acf16a2ceabce3.
-rw-r--r--service/test/unit/resources/test_signup_resource.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/service/test/unit/resources/test_signup_resource.py b/service/test/unit/resources/test_signup_resource.py
index 2f2d2860..49a7ee41 100644
--- a/service/test/unit/resources/test_signup_resource.py
+++ b/service/test/unit/resources/test_signup_resource.py
@@ -20,7 +20,6 @@ from twisted.trial import unittest
from twisted.web.resource import getChildForRequest
from twisted.web.test.requesthelper import DummyRequest
-import leap.common.events
from pixelated.application import get_static_folder
from pixelated.resources.root_resource import RootResource
from pixelated.resources.signup_resource import SignupResource
@@ -28,12 +27,6 @@ from pixelated.resources.signup_resource import SignupResource
class TestSignupResource(unittest.TestCase):
- def setUp(self):
- leap.common.events.register = MagicMock
-
- def tearDown(self):
- reload(leap.common.events)
-
def test_get_resource_for_request(self):
public_root_resource = RootResource(mock(), get_static_folder(), public=True)
request = DummyRequest(['signup'])