From 2cc673b69456700e20c6af93d8a963f2d806a385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Wed, 5 Aug 2020 23:52:08 +0100 Subject: [PATCH] nox: force setup.cfg as the pytest config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was causing some errors in the integration tests. https://github.com/pytest-dev/pytest-cov/issues/237 Signed-off-by: Filipe LaĆ­ns --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 5a25d42a..957b27cc 100644 --- a/noxfile.py +++ b/noxfile.py @@ -22,7 +22,7 @@ def test(session): session.install('.[test]') - session.run('pytest', '--cov', + session.run('pytest', '--cov', '--cov-config', 'setup.cfg', f'--cov-report=html:{htmlcov_output}', f'--cov-report=xml:{xmlcov_output}', 'tests/', *session.posargs)