#!/usr/bin/make -f

export PYBUILD_NAME=flexmock

%:
	dh $@ --with python3 --buildsystem pybuild

override_dh_auto_test:
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m unittest tests/flexmock_test.py'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m twisted.trial tests/flexmock_test.py'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m zope.testrunner --test-path=. --test-file-pattern=flexmock_test'
	dh_auto_test -- --test-pytest --test-args tests/flexmock_pytest_test.py
