Source: jinja-vanish Version: 0.2~git20160124.8980cb2-2 Severity: normal Dear Maintainer,
Please consider the attached patch to enable tests at build time too. Greetings Alexandre
diff --git a/debian/control b/debian/control index fc8dc74..8afa4b2 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,8 @@ Maintainer: Ben Hutchings <b...@debian.org> Section: python Priority: optional Build-Depends: debhelper-compat (= 12), dh-python, - python3-all, python3-jinja2 (>= 3.0.0~rc1), python3-setuptools + python3-all, python3-jinja2 (>= 3.0.0~rc1), python3-setuptools, + python3-pytest Rules-Requires-Root: no Standards-Version: 4.5.0 Testsuite: autopkgtest-pkg-python diff --git a/debian/patches/series b/debian/patches/series index ff19751..ac17ead 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ update-for-jinja-3.0.patch +remove-six.patch diff --git a/debian/tests/control b/debian/tests/control index 07db6e1..0e2c066 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,2 +1,2 @@ Test-Command: pytest -Depends: @, python3-pytest, python3-six +Depends: @, python3-pytest
--- a/tests/test_jinja_vanish.py +++ b/tests/test_jinja_vanish.py @@ -2,7 +2,7 @@ from markupsafe import Markup from jinja_vanish import DynAutoEscapeEnvironment -from six import text_type +text_type = str import pytest