From e5d9dcced95948ef61df2b5d500d37216b8f781f Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 1 Oct 2021 21:40:19 -0400 Subject: Coverage tweaks - our customized test runner needed to stop using cli flag now that rcfile is in use, lol. NOW tests are shown. - add coverage files to gitignore --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks.py') diff --git a/tasks.py b/tasks.py index bfa43ae8..7da6eff1 100644 --- a/tasks.py +++ b/tasks.py @@ -60,7 +60,7 @@ def test( # Leverage how pytest can be run as 'python -m pytest', and then how # coverage can be told to run things in that manner instead of # expecting a literal .py file. - runner = "coverage run --source=paramiko -m pytest" + runner = "coverage run -m pytest" # Strip SSH_AUTH_SOCK from parent env to avoid pollution by interactive # users. # TODO: once pytest coverage plugin works, see if there's a pytest-native -- cgit v1.2.1