summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-05-02 13:37:39 -0700
committerBob Halley <halley@dnspython.org>2020-05-02 13:37:39 -0700
commit601d5c668be725ebde9fc7ffabdb6befb481d8a4 (patch)
tree7dfbc2fb120df7c1f50b98dd244974806cbfc85e
parent07cb18ec8d62165eb5f46dd3b81734c408b21a57 (diff)
downloaddnspython-601d5c668be725ebde9fc7ffabdb6befb481d8a4.tar.gz
pytest make targets
-rw-r--r--Makefile2
-rw-r--r--pyproject.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d3550cd..b013f69 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 9ab6cc7..1e37b89 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"]