]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
pytest make targets
authorBob Halley <halley@dnspython.org>
Sat, 2 May 2020 20:37:39 +0000 (13:37 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 2 May 2020 20:37:39 +0000 (13:37 -0700)
Makefile
pyproject.toml

index d3550cdd23e637ab8aa77fd5abbcea469966f48b..b013f69336d30a50e05b133a4793ab83adbdcd07 100644 (file)
--- 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
index 9ab6cc7e59ee442007953aeb216a844f15dbf92c..1e37b898de09fe45897aba811313505d2cb180f4 100644 (file)
@@ -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"]