'Verify JSON information is retrieved correctly.'

def test_json(self):

    response = requests.Response()
    response.headers['Last-Modified'] = 'foo'
    response.headers['ETag'] = 'bar'
    response.raw = io.BytesIO('{}')
    response.status_code = 200
    json = self.instance._json(response, 200)
    assert (json['Last-Modified'] == 'foo')
    assert (json['ETag'] == 'bar')
