summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2019-11-10 20:10:59 -0800
committerJustin Mayer <entroP@gmail.com>2019-11-10 20:10:59 -0800
commit2d232d15aae0af895ede1146c0f2810adc8410e1 (patch)
treec2f1f9f9e77f7276fde94246bea73b3f23b1c238 /tasks.py
parente713407f898f964f927053ffa924edb9adbcc1bb (diff)
downloadpelican-drop_py2_docs.tar.gz
Switch `invoke tests` test runner to Pytestdrop_py2_docs
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index 7d9ff1d9..41ac2bde 100644
--- a/tasks.py
+++ b/tasks.py
@@ -21,7 +21,7 @@ PRECOMMIT = (
@task
def tests(c):
"""Run the test suite"""
- c.run(f"{VENV}/bin/python -Wd -m unittest discover", pty=True)
+ c.run(f"{VENV}/bin/pytest", pty=True)
@task