From 9b2f014eec0da7e7bdd72e5c22af7c40841e7cba Mon Sep 17 00:00:00 2001 From: Alex Conrad Date: Mon, 6 Feb 2017 11:41:26 -0800 Subject: [PATCH] move pytest cli args to setup.cfg --- setup.cfg | 2 ++ tox.ini | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 182e0054..746a64c9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,6 +6,8 @@ group = System Environment/Daemons [pytest] norecursedirs = examples lib local src +testpaths = tests/ +addopts = --assert=plain [wheel] universal = 1 diff --git a/tox.ini b/tox.ini index b18f9040..a9a8f968 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ skipsdist = True [testenv] usedevelop = True -commands = py.test {posargs:tests/} --assert=plain +commands = py.test {posargs} deps = -rrequirements_test.txt py26: unittest2