You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add logging details of the http response in the unit tests
In unit tests where neutron resources are created by "fake" http
requests, it was always only raised webob.exc.HTTPClientError in case when
response from the neutron server was >= webob.exc.HTTPClientError.code,
without any explanation what was real issue in the response.
To make it hopefully easier to debug failures in such tests in the
future this patch adds explanation with original response from the
server to such HTTPClientError exception.
Conflicts:
neutron/tests/unit/db/test_db_base_plugin_v2.py
neutron/tests/unit/db/test_l3_db.py
neutron/tests/unit/extensions/test_address_scope.py
Related-bug: #2081868
Change-Id: Ice15dd05d95422236e5901865865d77925adc44d
(cherry picked from commit 4af0d33)
0 commit comments