Codebase list responses / 25115b5
Make the tests pass. - Use debian/pybuild.testfiles to copy test_responses.py to the build directory and then delete it. - Export empty http_proxy to make local network access work. Dmitry Shachnev 3 years ago
3 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1717 - Bump python3-pytest requirement to 4.6.
1818 - Bump python3-urllib3 requirement to 1.25.10.
1919 - Remove python3-cookies, no longer needed.
20 * Make the tests pass:
21 - Use debian/pybuild.testfiles to copy test_responses.py to the build
22 directory and then delete it.
23 - Export empty http_proxy to make local network access work.
2024
2125 -- Debian Janitor <janitor@jelmer.uk> Wed, 18 Mar 2020 13:53:42 +0000
2226
0 test_responses.py
33 #export DH_VERBOSE=1
44
55 export PYBUILD_NAME=responses
6 export PYBUILD_AFTER_TEST=rm -f {dir}/test_responses.py; rm -f {build_dir}/test_responses.py
76
87 %:
98 dh $@ --with python3 --buildsystem=pybuild
9
10 override_dh_auto_test:
11 # The tests require local network (but not internet) access.
12 # pybuild's setting of http_proxy=http://127.0.0.1:9/ breaks it.
13 http_proxy= dh_auto_test