From dbb434b56e6b161a3b851ae6a81f96dff14a29da Mon Sep 17 00:00:00 2001 From: NavaL Date: Thu, 25 Feb 2016 17:38:07 +0100 Subject: serving the client directly, as the current dependency on proxy strips out xsrf cookies -fixing functional test Issue #612 --- service/test/support/integration/app_test_client.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'service/test/support') 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 -- cgit v1.2.3