aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2015-08-24 20:47:33 +1000
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-11-05 15:13:44 -0600
commitf51fd67a06054067b9eadde322ab06b0e84c2090 (patch)
tree6af7545d982f7c940efab656661fd99a29e3cd35 /setup.py
parentbe2621a43c44b385a72b4d9905b4dc11435afe67 (diff)
downloadmediagoblin-f51fd67a06054067b9eadde322ab06b0e84c2090.tar.lz
mediagoblin-f51fd67a06054067b9eadde322ab06b0e84c2090.tar.xz
mediagoblin-f51fd67a06054067b9eadde322ab06b0e84c2090.zip
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.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
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',