Comment 4 for bug 1642697

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to requests-mock (master)

Reviewed: https://review.openstack.org/399288
Committed: https://git.openstack.org/cgit/openstack/requests-mock/commit/?id=81b72f4397c712c74241a74c0effa7da5ddd1f24
Submitter: Jenkins
Branch: master

commit 81b72f4397c712c74241a74c0effa7da5ddd1f24
Author: Jamie Lennox <email address hidden>
Date: Fri Nov 18 09:59:53 2016 +1100

    Use create_response for fake http response in tests

    The old FakeHTTPResponse we're using in the tests is really basic and
    lacks a lot of the information that is expected in a response from an
    adapter. This is a hard problem that we've already solved in the
    create_response function so use that to create a test response instead
    of a custom solution here.

    Change-Id: I2999c9c69b4e9ad895114fab8ae7f8ce275fa2a4
    Closes-Bug: #1642697