From acb75a052e243f730de85228ea091441624ce554 Mon Sep 17 00:00:00 2001 From: Bryce Guinta Date: Mon, 12 Feb 2018 22:05:37 -0700 Subject: Use pytest as default test runner instead of unittest for tox There was some trouble getting this to work. I needed to use --pyargs for pytest to work in tox Allow for test file prefix unittest_ to be changed to standard test_ Helps with updating the astroid tests to standard pytest conventions Make pytest use proper test directory by default --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index a10cefc0..f8e89c28 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,5 @@ [wheel] universal = 1 [tool:pytest] -python_files = unittest_* +python_files = unittest_* test_*.py +testpaths = astroid/tests -- cgit v1.2.1