Bug 1263889

Summary: WebTest >= 2.0 required to run tests
Product: Red Hat OpenStack Reporter: Jamie Lennox <jlennox>
Component: python-webtestAssignee: Lon Hohberger <lhh>
Status: CLOSED DEFERRED QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: apevec, lhh, nkinder, srevivo, yeylon
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-14 18:57:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jamie Lennox 2015-09-17 01:37:07 UTC
The global-requirements currently contains WebTest>=2.0 and if i run the keystone tests with the current yum installed python-webtest (1.3.4) i get: 

'InputWrapper' object has no attribute 'seek'
Traceback (most recent call last):
  File "/home/cloud-user/keystone/keystone/common/wsgi.py", line 452, in __call__
    response = request.get_response(self.application)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1252, in call_application
    self.body_file_raw.seek(0)
AttributeError: 'InputWrapper' object has no attribute 'seek'


Can we rebase this to > 2.0?

Comment 9 Lon Hohberger 2015-10-06 21:07:19 UTC
New build and run-time requirements:

  python-beautifulsoup4
  python-waitress
  python-html5lib

New build only requirements:

  python-WSGIProxy2

Comment 11 Lon Hohberger 2015-10-06 21:16:08 UTC
This requirement's been around for some time.

Comment 12 Lon Hohberger 2015-10-06 21:17:18 UTC
commit cecc884fc17bec174ba5d97ffcafc238ed1e23e1
Author: Dirk Mueller <dirk>
Date:   Sun Sep 29 22:14:24 2013 +0200

    Raise/Relax WebTest requirement to match Keystone