From: Nick DiRienzo Date: Tue, 21 Jun 2016 14:00:53 +0000 (-0700) Subject: Renamed inside2 to inside X-Git-Tag: v1.9.0~4^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9a8067d8e7ad5e9a3e852c65a569f16335a2c80f;p=vcrpy.git Renamed inside2 to inside --- diff --git a/tests/integration/test_stubs.py b/tests/integration/test_stubs.py index b72aa63..b4cdd53 100644 --- a/tests/integration/test_stubs.py +++ b/tests/integration/test_stubs.py @@ -69,6 +69,6 @@ def test_original_decoded_response_is_not_modified(tmpdir, httpbin): # Even though the above are raw bytes, the JSON data should have been # decoded and saved to the cassette. with vcr.use_cassette(testfile): - inside2 = urlopen(request) - assert 'content-encoding' not in inside2.headers - assert_is_json(inside2.read()) + inside = urlopen(request) + assert 'content-encoding' not in inside.headers + assert_is_json(inside.read())