def test_relative_http_nested_req_files(self, finder, monkeypatch):
        req_file = 'http://me.com/me/req_file.txt'

        def parse(*args, **kwargs):
            return iter([])
        mock_parse = Mock()
        mock_parse.side_effect = parse
        monkeypatch.setattr(pip.req.req_file, 'parse_requirements', mock_parse)
        list(process_line("-r reqs.txt", req_file, 1, finder=finder))
        call = mock_parse.mock_calls[0]
        assert call[1][0] == 'http://me.com/me/reqs.txt'
Override to direct the calls in _build_header - first the Publisher, then the Process mixin.
dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py/TestProcessLine.test_relative_http_nested_req_files--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/ion/endpoint.py/ProcessPublisherEndpointUnit._build_header