summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 6 insertions, 4 deletions
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