Re: pybuild and not always preventing network connection in auto tests
Barry Warsaw <barry@debian.org> writes:
> On Dec 11, 2013, at 05:09 PM, Olivier Berger wrote:
>
>>Do I need an unexport http_proxy AND an http_proxy='' dh_auto_test ?
>
> No, all you need to do is unset http_proxy and https_proxy for the duration of
> the test command.
>
OK, just inside the pybuild --test. That will prevent other problems
related to import from pypi in other steps, etc.
>
> So all you should need to do in the above is:
>
> override_dh_auto_test:
> http_proxy= https_proxy= dh_auto_test
>
> Of course, that means if your test hits the network outside of localhost, you
> may get local build successes where buildds without network access would still
> fail. Oh well, you'll find out soon enough. ;)
>
Yeah, well, in due time, yes ;)
Thanks for the details.
Best regards,
--
Olivier BERGER
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)
Reply to: