From c95b050d69be701bf45a1f1f48fb1bba70fb9372 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Thu, 19 Sep 2019 09:05:54 +0100 Subject: [PATCH] MNT: Register pytest markers --- setup.cfg | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/setup.cfg b/setup.cfg index 3f611406b..be490b7f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,21 +5,20 @@ test=pytest universal=1 [tool:pytest] -# Available test markers: -# - fsltest: Requires FSL -# - wxtest: Requires wxPython -# - dicomtest: Requires dcm2niix -# - meshtest: Requires trimesh and rtree -# - igziptest: Requires indexed_gzip -# - piltest: Requires Pillow -# - noroottest: Need to be executed as -# non-root user (will fail -# otherwise) -# - longtest: Takes a long time -# +markers = + fsltest: Requires FSL + wxtest: Requires wxPython + dicomtest: Requires dcm2niix + meshtest: Requires trimesh and rtree + igziptest: Requires indexed_gzip + piltest: Requires Pillow + noroottest: Need to be executed as non-root user (will fail otherwise) + longtest: Takes a long time + testpaths = tests addopts = -v --niters=50 --cov=fsl -m "not longtest" + [flake8] ignore = E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701,W504 \ No newline at end of file -- GitLab