Commit ec64bb6d authored by Michael Fladischer's avatar Michael Fladischer

Clean up test artifacts to allow two builds in a row.

parent af84ef49
......@@ -12,6 +12,7 @@ python-daphne (2.2.2-1) UNRELEASED; urgency=low
* Add python3-pytest and python3-pytest-runner to Build-Depends to run
tests.
* Run tests using pytest.
* Clean up test artifacts to allow two builds in a row.
-- Michael Fladischer <fladi@debian.org> Mon, 20 Aug 2018 13:47:56 +0200
......
......@@ -6,3 +6,4 @@ daphne.egg-info/dependency_links.txt
daphne.egg-info/entry_points.txt
daphne.egg-info/not-zip-safe
daphne.egg-info/top_level.txt
.pytest_cache/v/cache/nodeids
......@@ -20,3 +20,7 @@ override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} -m pytest"
endif
override_dh_clean:
rm -rf .hypothesis
dh_clean
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