From a4d35b2cd24731036c381248c3f0eb475dcd2f8f Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Mon, 4 May 2020 00:13:20 -0700 Subject: Add configuration for pytest --- setup.cfg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 756233bd0..a7a5ff4fe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,6 @@ [easy_install] zip_ok = false -[nosetests] -match = ^test -nocapture = 1 - [aliases] dev = develop easy_install pyramid[testing] docs = develop easy_install pyramid[docs] @@ -21,3 +17,9 @@ ignore = ignore-default-rules = true ignore-bad-ideas = tests/pkgs/localeapp/**/*.mo + +[tool:pytest] +python_files = test_*.py +testpaths = + tests +addopts = -W always --cov -- cgit v1.2.3