Activity log for bug #1372484

Date Who What changed Old value New value Message
2014-09-22 14:09:39 Chmouel Boudjnah bug added bug
2014-09-22 14:29:45 Chmouel Boudjnah description [Caveat: I am not a py34 expert so I may be just wrong here ;) ] I am trying to use auth_token middleware for a personal project, this project is a py34 only. So far at runtime things seems to work and auth_token works under py34 byt when trying to integrate this with webtest I am getting this error ; AssertionError: Iterator <list_iterator object at 0x7f8605664128> returned a non-<class 'bytes'> object: 'Authentication required' this come from webtest which explictely check if the error message come as bytes : https://github.com/Pylons/webtest/blob/master/webtest/lint.py#L298-L300 it seems that the obvious fix is something like this (which should work on py2 as well) : http://paste.openstack.org/raw/fMNhM0Sd9hw4q3uuN5gq/ Which seems right, I think but I am not totally sure, let me know what do you think before I submit it. [Caveat: I am not a py34 expert so I may be just wrong here ;) ] I am trying to use auth_token middleware for a personal project, this project is a py34 only. So far at runtime things seems to work and auth_token works under py34 byt when trying to integrate this with webtest for my unittesting I am getting this error ; AssertionError: Iterator <list_iterator object at 0x7f8605664128> returned a non-<class 'bytes'> object: 'Authentication required' this come from webtest which explictely check if the error message come as bytes : https://github.com/Pylons/webtest/blob/master/webtest/lint.py#L298-L300 it seems that the obvious fix is something like this (which should work on py2 as well) : http://paste.openstack.org/raw/fMNhM0Sd9hw4q3uuN5gq/ Which seems right, I think but I am not totally sure, let me know what do you think before I submit it.
2014-09-23 14:35:47 OpenStack Infra keystonemiddleware: status New In Progress
2014-09-23 14:35:47 OpenStack Infra keystonemiddleware: assignee Chmouel Boudjnah (chmouel)
2014-09-26 20:40:31 Dolph Mathews keystonemiddleware: importance Undecided Medium
2014-10-14 19:11:46 OpenStack Infra keystonemiddleware: status In Progress Fix Committed
2014-12-17 16:15:18 Morgan Fainberg keystonemiddleware: milestone 1.3.0
2014-12-18 17:42:33 Morgan Fainberg keystonemiddleware: status Fix Committed Fix Released