1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
export PYBUILD_NAME=grequests
export PYBUILD_BEFORE_TEST=cp -v tests.py {build_dir}/
export PYBUILD_AFTER_TEST=rm -v {build_dir}/tests.py
# most tests requires an internet connection and should be run with autopkgtest
export PYBUILD_TEST_ARGS=tests.py -k ' not test_callback_kwarg \
and not test_calling_request \
and not test_hooks \
and not test_imap \
and not test_map \
and not test_map_timeout_exception_handler_no_return \
and not test_map_timeout_exception_handler_returns_exception \
and not test_map_timeout_no_exception_handler \
and not test_session_and_cookies \
and not test_stream_enabled \
'
%:
dh $@ --buildsystem=pybuild
|