From: Bob Halley Date: Sat, 2 May 2020 20:37:39 +0000 (-0700) Subject: pytest make targets X-Git-Tag: v2.0.0rc1~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=601d5c668be725ebde9fc7ffabdb6befb481d8a4;p=thirdparty%2Fdnspython.git pytest make targets --- diff --git a/Makefile b/Makefile index d3550cdd..b013f693 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ typecheck: mypy examples tests dns potest: - poetry run python -m tests.utest + poetry run pytest potype: poetry run python -m mypy examples tests dns/*.py diff --git a/pyproject.toml b/pyproject.toml index 9ab6cc7e..1e37b898 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ cryptography = "^2.6" [tool.poetry.dev-dependencies] mypy = "^0.770" pylint = "^2.5.0" +pytest = "^5.4.1" [build-system] requires = ["poetry>=0.12"]