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
17 | 17 |
- Bump python3-pytest requirement to 4.6.
|
18 | 18 |
- Bump python3-urllib3 requirement to 1.25.10.
|
19 | 19 |
- 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.
|
20 | 24 |
|
21 | 25 |
-- Debian Janitor <janitor@jelmer.uk> Wed, 18 Mar 2020 13:53:42 +0000
|
22 | 26 |
|
3 | 3 |
#export DH_VERBOSE=1
|
4 | 4 |
|
5 | 5 |
export PYBUILD_NAME=responses
|
6 | |
export PYBUILD_AFTER_TEST=rm -f {dir}/test_responses.py; rm -f {build_dir}/test_responses.py
|
7 | 6 |
|
8 | 7 |
%:
|
9 | 8 |
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
|