Skip to content

Commit

Permalink
devel/py-asynctest: Convert to USE_PYTHON=unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jun 3, 2022
1 parent 6fddb68 commit 3fd2490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions devel/py-asynctest/Makefile
Expand Up @@ -11,12 +11,12 @@ COMMENT= Enhance unittest for testing asyncio libraries

LICENSE= APACHE20

TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}

USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils unittest

NO_ARCH= yes

do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v test
TEST_ARGS= discover -s test

.include <bsd.port.mk>

0 comments on commit 3fd2490

Please sign in to comment.