)]}'
{"id":"openstack%2Fpython-swiftclient~442881","triplet_id":"openstack%2Fpython-swiftclient~master~Ib99a029c1bd1ea1efa8060fe8a11cb01deea41c6","project":"openstack/python-swiftclient","branch":"master","topic":"bug/1670620","hashtags":[],"change_id":"Ib99a029c1bd1ea1efa8060fe8a11cb01deea41c6","subject":"Fix MockHttpResponse to be more like the Real","status":"MERGED","created":"2017-03-08 01:07:20.000000000","updated":"2017-06-12 19:25:45.000000000","submitted":"2017-06-12 19:25:45.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f6f358885a94babc1c12624119a4c03414561ed9","_number":442881,"virtual_id_number":442881,"owner":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2017-06-12 19:25:45.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2017-03-08 19:09:05.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":1,"date":"2017-06-12 17:44:55.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2017-06-12 17:44:55.000000000","updated_by":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"reviewer":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"state":"REVIEWER"},{"updated":"2017-06-12 19:25:45.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"cbe0829b2c666e3e79a3bf947e354f0edc97b529","author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"date":"2017-03-08 01:07:20.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"80e21f06abfceb5266a2c953f2f7a97e5ac2b822","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-03-08 02:41:28.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-swiftclient-docs-ubuntu-xenial http://docs-draft.openstack.org/81/442881/1/check/gate-python-swiftclient-docs-ubuntu-xenial/5b4fd20//doc/build/html/ : SUCCESS in 1m 20s\n- gate-python-swiftclient-pep8-ubuntu-xenial http://logs.openstack.org/81/442881/1/check/gate-python-swiftclient-pep8-ubuntu-xenial/c728406/ : SUCCESS in 2m 05s\n- gate-python-swiftclient-python27-ubuntu-xenial http://logs.openstack.org/81/442881/1/check/gate-python-swiftclient-python27-ubuntu-xenial/f58ee35/ : SUCCESS in 2m 04s\n- gate-python-swiftclient-python35 http://logs.openstack.org/81/442881/1/check/gate-python-swiftclient-python35/20e400d/ : FAILURE in 2m 49s\n- gate-python-swiftclient-pypy http://logs.openstack.org/81/442881/1/check/gate-python-swiftclient-pypy/0c510a9/ : SUCCESS in 2m 23s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial http://logs.openstack.org/81/442881/1/check/gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial/acb3f82/ : SUCCESS in 1h 27m 21s\n- gate-swift-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/1/check/gate-swift-dsvm-functional-ubuntu-xenial/7c5c42b/ : SUCCESS in 40m 52s\n- gate-swift-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/81/442881/1/check/gate-swift-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/f3463db/ : SUCCESS in 36m 10s (non-voting)\n- gate-swiftclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/1/check/gate-swiftclient-dsvm-functional-ubuntu-xenial/bd93697/ : SUCCESS in 32m 11s\n- gate-swiftclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/81/442881/1/check/gate-swiftclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/bf2d8cb/ : SUCCESS in 35m 27s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"9b8c98fdef121e756bb1cf18ac27d92d845f71ac","author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"date":"2017-03-08 04:35:33.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"0ceaa806bc0e2f8b476dcb0110582d4eb321b902","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-03-08 05:45:56.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-docs-ubuntu-xenial http://docs-draft.openstack.org/81/442881/2/check/gate-python-swiftclient-docs-ubuntu-xenial/543219f//doc/build/html/ : SUCCESS in 51s\n- gate-python-swiftclient-pep8-ubuntu-xenial http://logs.openstack.org/81/442881/2/check/gate-python-swiftclient-pep8-ubuntu-xenial/57d16c4/ : SUCCESS in 56s\n- gate-python-swiftclient-python27-ubuntu-xenial http://logs.openstack.org/81/442881/2/check/gate-python-swiftclient-python27-ubuntu-xenial/8c9594e/ : SUCCESS in 2m 07s\n- gate-python-swiftclient-python35 http://logs.openstack.org/81/442881/2/check/gate-python-swiftclient-python35/e93472a/ : SUCCESS in 1m 25s\n- gate-python-swiftclient-pypy http://logs.openstack.org/81/442881/2/check/gate-python-swiftclient-pypy/d90b3f4/ : SUCCESS in 1m 22s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial http://logs.openstack.org/81/442881/2/check/gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial/f4ca0af/ : SUCCESS in 1h 09m 16s\n- gate-swift-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/2/check/gate-swift-dsvm-functional-ubuntu-xenial/d6f8e74/ : SUCCESS in 30m 08s\n- gate-swift-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/81/442881/2/check/gate-swift-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/5bf12a2/ : SUCCESS in 19m 38s (non-voting)\n- gate-swiftclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/2/check/gate-swiftclient-dsvm-functional-ubuntu-xenial/9426610/ : SUCCESS in 17m 48s\n- gate-swiftclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/81/442881/2/check/gate-swiftclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/914a9f9/ : SUCCESS in 16m 29s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"51c8c0ba04c51b12b5b79cdda206db2610ac4d16","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2017-03-08 18:09:28.000000000","message":"Patch Set 2:\n\n(1 comment)\n\nThis reminds me how I need to find time to review https://review.openstack.org/#/c/360298/ ...","accounts_in_message":[],"_revision_number":2},{"id":"f74730518b046e9e166873c078be4208d81398db","author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"date":"2017-03-08 18:52:00.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"be1807a3192ea815550c74a885e84c266b924640","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2017-03-08 19:09:05.000000000","message":"Patch Set 3: Code-Review+2","accounts_in_message":[],"_revision_number":3},{"id":"5c40b71a42eeca02ddbb8397f8241a06cdcbfbdd","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-03-08 20:15:02.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-docs-ubuntu-xenial http://docs-draft.openstack.org/81/442881/3/check/gate-python-swiftclient-docs-ubuntu-xenial/ad6eb84//doc/build/html/ : SUCCESS in 1m 23s\n- gate-python-swiftclient-pep8-ubuntu-xenial http://logs.openstack.org/81/442881/3/check/gate-python-swiftclient-pep8-ubuntu-xenial/5ae4dce/ : SUCCESS in 2m 18s\n- gate-python-swiftclient-python27-ubuntu-xenial http://logs.openstack.org/81/442881/3/check/gate-python-swiftclient-python27-ubuntu-xenial/d0cf8c6/ : SUCCESS in 1m 51s\n- gate-python-swiftclient-python35 http://logs.openstack.org/81/442881/3/check/gate-python-swiftclient-python35/3bcd051/ : SUCCESS in 2m 01s\n- gate-python-swiftclient-pypy http://logs.openstack.org/81/442881/3/check/gate-python-swiftclient-pypy/34e762a/ : SUCCESS in 2m 44s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial http://logs.openstack.org/81/442881/3/check/gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial/e51e5a0/ : SUCCESS in 1h 21m 14s\n- gate-swift-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/3/check/gate-swift-dsvm-functional-ubuntu-xenial/7856f3d/ : SUCCESS in 30m 12s\n- gate-swift-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/81/442881/3/check/gate-swift-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/7da5c0f/ : SUCCESS in 21m 45s (non-voting)\n- gate-swiftclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/3/check/gate-swiftclient-dsvm-functional-ubuntu-xenial/b0f8a6f/ : SUCCESS in 17m 55s\n- gate-swiftclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv http://logs.openstack.org/81/442881/3/check/gate-swiftclient-dsvm-functional-identity-v3-only-ubuntu-xenial-nv/f15ac58/ : SUCCESS in 17m 03s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"6bfb24928f61054c9bfdd8e7c8022657cc763c9c","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2017-06-12 17:44:55.000000000","message":"Patch Set 3: Workflow+1\n\nTests-only, looks good, :shipit:","accounts_in_message":[],"_revision_number":3},{"id":"4e9352008e86d6e27eec38b60d9c81e6b165005b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-06-12 17:45:06.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":3},{"id":"9b56373e765d8376d96123b24d46d227651c5c8e","date":"2017-06-12 19:25:45.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":3},{"id":"7caf42c680f8452d30fa856dce0579cb34bcf508","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-06-12 19:25:45.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-swiftclient-docs-ubuntu-xenial http://docs-draft.openstack.org/81/442881/3/gate/gate-python-swiftclient-docs-ubuntu-xenial/ae8ab1d//doc/build/html/ : SUCCESS in 1m 53s\n- gate-python-swiftclient-pep8-ubuntu-xenial http://logs.openstack.org/81/442881/3/gate/gate-python-swiftclient-pep8-ubuntu-xenial/c0578b9/ : SUCCESS in 1m 53s\n- gate-python-swiftclient-python27-ubuntu-xenial http://logs.openstack.org/81/442881/3/gate/gate-python-swiftclient-python27-ubuntu-xenial/c98cd97/ : SUCCESS in 2m 00s\n- gate-python-swiftclient-python35 http://logs.openstack.org/81/442881/3/gate/gate-python-swiftclient-python35/0aaa44b/ : SUCCESS in 2m 57s\n- gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial http://logs.openstack.org/81/442881/3/gate/gate-tempest-dsvm-neutron-src-python-swiftclient-ubuntu-xenial/028d64e/ : SUCCESS in 1h 25m 36s\n- gate-swift-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/3/gate/gate-swift-dsvm-functional-ubuntu-xenial/29613ab/ : SUCCESS in 26m 14s\n- gate-swiftclient-dsvm-functional-ubuntu-xenial http://logs.openstack.org/81/442881/3/gate/gate-swiftclient-dsvm-functional-ubuntu-xenial/08019e6/ : SUCCESS in 17m 14s","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"dd34af42f8ac8311d857ee1bf509269dfcfcfb24","revisions":{"8aecec1e44c4a3a6bcc7b6594f37c43e4521ffdd":{"kind":"REWORK","_number":1,"created":"2017-03-08 01:07:20.000000000","uploader":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"ref":"refs/changes/81/442881/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/81/442881/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/1"}}},"commit":{"parents":[{"commit":"028c4824d0190e0b605ae9c90756167083e46cd3","subject":"Fix logging of the gzipped body","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/028c4824d0190e0b605ae9c90756167083e46cd3"}]}],"author":{"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","date":"2017-03-08 00:52:51.000000000","tz":-480},"committer":{"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","date":"2017-03-08 01:02:18.000000000","tz":-480},"subject":"Cleanup fake in test_swiftclient","message":"Cleanup fake in test_swiftclient\n\nThis change pulls out that relatively new little string to pull at in\nthe MockHttpResponse that I think is sorta ugly.\n\nI think this cruft grew up because some prior art misappropriated the\nFake into a context where it wasn\u0027t a good impedance match for th real.\n\nI also reworded the test to cover more code, and make assertions on the\ndesired behavior of the client instead of \"just\" the http_log method.\n\nFWIW, I don\u0027t think there was necessarily anything wrong with the scope\nof the new test - and it certainly makes sense to see new tests copy\nnearby existing tests.  But I subjectively think this smaller test is\nmore demonstrative of the desired behavior.\n\nChange-Id: Ib99a029c1bd1ea1efa8060fe8a11cb01deea41c6\nRelated-Change-Id: I6d7ccbf4ef9b46e890ecec58842c5cdd2804c7a9\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/8aecec1e44c4a3a6bcc7b6594f37c43e4521ffdd"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/8aecec1e44c4a3a6bcc7b6594f37c43e4521ffdd"}]},"branch":"refs/heads/master"},"d4bed3a9752534cc81daecfac103b8db65c4c424":{"kind":"REWORK","_number":2,"created":"2017-03-08 04:35:33.000000000","uploader":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"ref":"refs/changes/81/442881/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/81/442881/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/2"}}},"commit":{"parents":[{"commit":"028c4824d0190e0b605ae9c90756167083e46cd3","subject":"Fix logging of the gzipped body","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/028c4824d0190e0b605ae9c90756167083e46cd3"}]}],"author":{"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","date":"2017-03-08 00:52:51.000000000","tz":-480},"committer":{"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","date":"2017-03-08 04:35:27.000000000","tz":-480},"subject":"Cleanup fake in test_swiftclient","message":"Cleanup fake in test_swiftclient\n\nThis change pulls out that relatively new little string to pull at in\nthe MockHttpResponse that I think is sorta ugly.\n\nI think this cruft grew up because some prior art misappropriated the\nFake into a context where it wasn\u0027t a good impedance match for th real.\n\nI also reworded the test to cover more code, and make assertions on the\ndesired behavior of the client instead of \"just\" the http_log method.\n\nFWIW, I don\u0027t think there was necessarily anything wrong with the scope\nof the new test - and it certainly makes sense to see new tests copy\nnearby existing tests.  But I subjectively think this smaller test is\nmore demonstrative of the desired behavior.\n\nChange-Id: Ib99a029c1bd1ea1efa8060fe8a11cb01deea41c6\nRelated-Change-Id: I6d7ccbf4ef9b46e890ecec58842c5cdd2804c7a9\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/d4bed3a9752534cc81daecfac103b8db65c4c424"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/d4bed3a9752534cc81daecfac103b8db65c4c424"}]},"branch":"refs/heads/master"},"dd34af42f8ac8311d857ee1bf509269dfcfcfb24":{"kind":"REWORK","_number":3,"created":"2017-03-08 18:52:00.000000000","uploader":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"ref":"refs/changes/81/442881/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/81/442881/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/81/442881/3"}}},"commit":{"parents":[{"commit":"028c4824d0190e0b605ae9c90756167083e46cd3","subject":"Fix logging of the gzipped body","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/028c4824d0190e0b605ae9c90756167083e46cd3"}]}],"author":{"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","date":"2017-03-08 00:52:51.000000000","tz":-480},"committer":{"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","date":"2017-03-08 18:51:43.000000000","tz":-480},"subject":"Fix MockHttpResponse to be more like the Real","message":"Fix MockHttpResponse to be more like the Real\n\nThis change pulls out that relatively new [1] little string to pull at\nin the MockHttpResponse that I think is sorta ugly.  And replaces it\nwith the correct behavior that\u0027s representative of the Real for which\nit\u0027s standing in (which is sadly our wrapper to make a requests response\nfeel like a httplib.HTTPResponse).\n\nIt\u0027s not clear (to me) the history which allowed this difference in the\nbehavior of the Real and Fake to persist - it seems to have always been\nthis way [2].\n\nI also reworded a relatively new test [1] to cover more code, and make\nassertions on the desired behavior of the client instead of \"just\" the\nhttp_log method.\n\nFWIW, I don\u0027t think there was necessarily anything wrong with the scope\nof the new test [1] - and it certainly makes sense to see new tests copy\nnearby existing tests.  But I subjectively think this smaller test is\nmore demonstrative of the desired behavior.\n\n1. Related-Change-Id: I6d7ccbf4ef9b46e890ecec58842c5cdd2804c7a9\n2. Related-Change-Id: If07af46cb377f3f3d70f6c4284037241d360a8b7\nChange-Id: Ib99a029c1bd1ea1efa8060fe8a11cb01deea41c6\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/dd34af42f8ac8311d857ee1bf509269dfcfcfb24"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/dd34af42f8ac8311d857ee1bf509269dfcfcfb24"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
