[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pybuild and not always preventing network connection in auto tests



On 11 December 2013 15:24, Olivier Berger
<olivier.berger@telecom-sudparis.eu> wrote:
> Hi.
>
> AFAIU, pybuild prevents accesses to the network.
>
> But this can be problematic during auto_tests that will perform HTTP
> connections on a local HTTP server (I have such an example in rdflib's
> auto tests [0]).
>
> Is there a way to avoid such a protection, possibly on a selective
> number of tests ?
>

unexport http_proxy
unexport https_proxy
override_dh_auto_test:
        dh_auto_test --buildsystem=pybuild

-- 
Regards,

Dimitri.


Reply to: