summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKate Case <kcase@redhat.com>2023-05-15 09:58:00 -0400
committerGitHub <noreply@github.com>2023-05-15 09:58:00 -0400
commita0267e790c9ba14f73cadb6fe77041946249402d (patch)
tree01109fdc10bcbbc191fa4ed1a58cffbaa6e56a29
parent5476af448b35c76154a3d6edfca1eb1edb1a4ee1 (diff)
downloadvyos.vyos-a0267e790c9ba14f73cadb6fe77041946249402d.tar.gz
vyos.vyos-a0267e790c9ba14f73cadb6fe77041946249402d.zip
Drop test-requirements to only necessary packages (#316)
* Slim test-requirements down to the essentials * Ignore black on unsupported versions * Fix versions
-rw-r--r--test-requirements.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index e70d893..de3685a 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,9 +1,12 @@
-black==22.8.0
-coverage==4.5.4
-git+https://github.com/ansible-community/pytest-ansible-units.git
+# For ansible-tox-linters
+black==23.3.0 ; python_version >= '3.7'
flake8
-pytest-xdist
yamllint
-mock
+# Unit test runner
+pytest-ansible ; python_version >= '3.9'
+git+https://github.com/ansible-community/pytest-ansible-units.git ; python_version < '3.9'
+pytest-xdist
+
+# For integration tests
pexpect