]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Allow per file running of tests (#287)
authorJt Miclat <jtmiclat@gmail.com>
Tue, 27 Aug 2019 16:51:36 +0000 (00:51 +0800)
committerSeth Michael Larson <sethmichaellarson@gmail.com>
Tue, 27 Aug 2019 16:51:36 +0000 (11:51 -0500)
* Allow per file running of tests

* Simply PR

noxfile.py

index dea8595b85caf8d7e93ea47d66a9a48c86b77df6..e71d208ac15c4f4c59a5835bec1e415d00f718fe 100644 (file)
@@ -38,5 +38,4 @@ def docs(session):
 @nox.session(python=["3.6", "3.7", "3.8"])
 def test(session):
     session.install("-r", "test-requirements.txt")
-
-    session.run("python", "-m", "pytest")
+    session.run("python", "-m", "pytest", *session.posargs)