From f51fd67a06054067b9eadde322ab06b0e84c2090 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 24 Aug 2015 20:47:33 +1000 Subject: trac#665: Upgrade to WebTest 2.0.18 and fix broken test `test_csrf_cookie_set`. Test was failing due to API change in WebTest around accessing cookies set in the test client. These are now in `test_app.cookies`. While there are currently 48 other tests failing, I've verified that before and after this change that the same number fail. I've also checked that no other tests use the old API for accessing test client cookies. I've pinned to version 2.0.18. My understanding is that it's generally a good idea to pin to a specific version where possible to avoid the "why has this suddenly broken" type bugs. This also seems appropriate since WebTest appears to be very stable. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 68303f25..d96ed178 100644 --- a/setup.py +++ b/setup.py @@ -74,7 +74,7 @@ install_requires = [ 'kombu', 'jinja2', 'Babel>=1.3', - 'webtest<2', + 'WebTest==2.0.18', 'ConfigObj', 'Markdown', 'sqlalchemy<0.9.0, >0.8.0', -- cgit v1.2.3