Via https://github.com/openstack/requests-mock/pull/12 by @allardhoeve Change-Id: I7e9bba3a22a08ee41af5480b8a3cee49ef06624d