#!/usr/bin/make -f

# pybuild defaults to exporting various proxy environment variables to
# isolate test suites from the network, but in this case those just serve to
# confuse the test suite.
export PYBUILD_TEST_CUSTOM := 1
export PYBUILD_TEST_ARGS := \
	env -u http_proxy -u https_proxy -u no_proxy \
	{interpreter} -m pytest --forked --ignore-glob=tests/_TODO_legacy/

%:
	dh $@ --buildsystem pybuild
