def test_get_proxy_information_with_proxy_over_http(self):
        self.configure_response(
            proxy_manager={'http://': 'http://local.proxy:3939'},
        )
        self.configure_request(
            url='http://example.com',
            method='GET',
        )

        assert dump._get_proxy_information(self.response) == {
            'request_path': 'http://example.com'
        }
Compute the relative path to one path from another.
dataset/ETHPy150Open sigmavirus24/requests-toolbelt/tests/test_dump.py/TestResponsePrivateFunctions.test_get_proxy_information_with_proxy_over_http--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Babel-0.9.6/babel/util.py/relpath