dev-python/django-registration: fix dep and enable test

Closes: https://bugs.gentoo.org/909579
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2023-07-22 14:26:21 +02:00
parent 7cc541baaa
commit f89da530cc

View File

@@ -20,8 +20,13 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test" # Tests are not working here
RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
dev-python/confusable_homoglyphs[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
"${EPYTHON}" runtests.py \
|| die "Tests failed with ${EPYTHON}"
}