Reviewed: https://review.openstack.org/296690 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a94e1b410b0ae5193aabe7fdde6f4948334464f8 Submitter: Jenkins Branch: master
commit a94e1b410b0ae5193aabe7fdde6f4948334464f8 Author: Davanum Srinivas <dava...@gmail.com> Date: Wed Mar 23 14:52:58 2016 -0400 Fix test failure against latest oslo.* from master Looks like there's a lot of places in Neutron tests we are using res.json['NeutronError']['message'] to look at the exact message and we missed a spot Closes-Bug: #1561151 Change-Id: I8e62ae9f16a2b239520f79ac53401e596f781b64 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1561151 Title: Neutron unit tests fail against oslo.* master Status in neutron: Fix Released Bug description: from http://logs.openstack.org/periodic/periodic-neutron-py27-with- oslo-master/b093812/console.html#_2016-03-23_06_21_11_099 : 2016-03-23 06:21:11.099 | Captured traceback: 2016-03-23 06:21:11.099 | ~~~~~~~~~~~~~~~~~~~ 2016-03-23 06:21:11.099 | Traceback (most recent call last): 2016-03-23 06:21:11.099 | File "neutron/tests/unit/extensions/test_dns.py", line 455, in test_api_extension_validation_with_bad_dns_names 2016-03-23 06:21:11.100 | 'cannot be converted to lowercase string' in res.text or 2016-03-23 06:21:11.191 | File "/home/jenkins/workspace/periodic-neutron-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/webob/response.py", line 420, in _text__get 2016-03-23 06:21:11.191 | "You cannot access Response.text unless charset is set") 2016-03-23 06:21:11.191 | AttributeError: You cannot access Response.text unless charset is set 2016-03-23 06:21:11.191 | To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1561151/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp