Bug 1263889 - WebTest >= 2.0 required to run tests
Summary: WebTest >= 2.0 required to run tests
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-webtest
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Lon Hohberger
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 01:37 UTC by Jamie Lennox
Modified: 2023-02-22 23:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-14 18:57:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.