From 197f522175eca5fd33aed47e1f89730ab8bf12e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Fri, 16 Sep 2022 17:44:19 +0200 Subject: [PATCH] deps: add testing group for dvc.testing requirements --- dvc/testing/test_api.py | 2 +- setup.cfg | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dvc/testing/test_api.py b/dvc/testing/test_api.py index b45e802ce..3c04f63e1 100644 --- a/dvc/testing/test_api.py +++ b/dvc/testing/test_api.py @@ -38,7 +38,7 @@ class TestAPI: ) def test_filesystem( self, - M, + M, # from `pytest-test-utils` tmp_dir, make_tmp_dir, scm, diff --git a/setup.cfg b/setup.cfg index 234ffcd05..3d5c16b81 100644 --- a/setup.cfg +++ b/setup.cfg @@ -104,6 +104,8 @@ webhdfs = dvc-webhdfs==2.19.0 # requests-kerberos requires krb5 & gssapi, which does not provide wheels Linux webhdfs_kerberos = dvc-webhdfs[kerberos]==2.19.0 terraform = tpi[ssh]>=2.1.0 +testing = + pytest-test-utils==0.0.8 tests = %(terraform)s dvc-ssh==2.19.0 @@ -113,7 +115,7 @@ tests = pytest-xdist==2.5.0 pytest-mock==3.8.2 pytest-lazy-fixture==0.6.3 - pytest-test-utils==0.0.8 + %(testing)s # https://github.com/docker/docker-py/issues/2902 pytest-docker==0.11.0; python_version < '3.10' or sys_platform != 'win32' flaky==3.7.0