Commit af84ef49 authored by Michael Fladischer's avatar Michael Fladischer

Run tests using pytest.

parent 821777c1
......@@ -11,6 +11,7 @@ python-daphne (2.2.2-1) UNRELEASED; urgency=low
* Remove python3-asgiref from Build-Depends.
* Add python3-pytest and python3-pytest-runner to Build-Depends to run
tests.
* Run tests using pytest.
-- Michael Fladischer <fladi@debian.org> Mon, 20 Aug 2018 13:47:56 +0200
......
......@@ -15,3 +15,8 @@ override_dh_auto_install:
override_dh_installman:
docbook-to-man debian/manpage.daphne.sgml > daphne.1
dh_installman
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} -m pytest"
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment