On Sat, Aug 31, 2019 at 06:57:23PM +0300, Dmitry Shachnev wrote:
> On Sun, Sep 01, 2019 at 12:34:02AM +0900, Norbert Preining wrote:
> > Now, the interesting thing are the error messages. One of them is
> > [...]
> > httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt
>
> Maybe this happens because pybuild exports http_proxy='http://127.0.0.1:9/',
> and this breaks the local http server used in tests.
>
> If you explicitly set http_proxy to empty string then pybuild won't do it.
>
> > Huuuu? Why does it use the original file directly in mechanize.git???
>
> Apparently you need to explicitly cd to build directory. So try this:
>
> http_proxy= dh_auto_test -- --system custom --test-args "cd {build_dir}; 
> {interpreter} run_tests.py"
>
> With this command, only three tests are failing for me.

Ah, if you also add no_proxy= then all tests pass.

http_proxy= no_proxy= dh_auto_test -- --system custom --test-args "cd 
{build_dir}; {interpreter} run_tests.py"

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to