summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-02-25 17:38:07 +0100
committerNavaL <ayoyo@thoughtworks.com>2016-02-25 17:38:07 +0100
commitdbb434b56e6b161a3b851ae6a81f96dff14a29da (patch)
treec0b8b53880a386b36bd48ddab3eafb6fe21b083d /service/test/support
parent1e6518dd6577bf0dbec359fd4c1aec12ed6f2a64 (diff)
serving the client directly, as the current dependency on proxy strips out xsrf cookies
-fixing functional test Issue #612
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration/app_test_client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py
index a2360a4e..f3ec5d25 100644
--- a/service/test/support/integration/app_test_client.py
+++ b/service/test/support/integration/app_test_client.py
@@ -244,6 +244,9 @@ class AppTestClient(object):
time.sleep(1)
return lambda: process.terminate()
+ def stop(self):
+ reactor.stop()
+
def get(self, path, get_args='', as_json=True, ajax=True, csrf='token'):
request = request_mock(path, ajax=ajax, csrf=csrf)
request.args = get_args