aboutsummaryrefslogtreecommitdiff
path: root/test/apiv2/python
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-07 06:30:57 -0500
committerGitHub <noreply@github.com>2022-03-07 06:30:57 -0500
commitbe3858bcf1a666e374713a43892b8d7ec10c9c8b (patch)
treed41ea80dab5b9e7915b7aa876603b82b10388b69 /test/apiv2/python
parent87d911aca97a824728e499c8590e20e8528e24d5 (diff)
parentdca2e7924ba5346eb78a3b7091d15b316e4e925a (diff)
downloadpodman-be3858bcf1a666e374713a43892b8d7ec10c9c8b.tar.gz
podman-be3858bcf1a666e374713a43892b8d7ec10c9c8b.tar.bz2
podman-be3858bcf1a666e374713a43892b8d7ec10c9c8b.zip
Merge pull request #13406 from jwhonce/wip/docker-py
Move all python tests to pytest
Diffstat (limited to 'test/apiv2/python')
-rw-r--r--test/apiv2/python/conftest.py8
-rw-r--r--test/apiv2/python/requirements.txt5
2 files changed, 13 insertions, 0 deletions
diff --git a/test/apiv2/python/conftest.py b/test/apiv2/python/conftest.py
new file mode 100644
index 000000000..54a267049
--- /dev/null
+++ b/test/apiv2/python/conftest.py
@@ -0,0 +1,8 @@
+"""
+Configure pytest
+"""
+
+
+def pytest_report_header(config):
+ """Add header to report."""
+ return "python client -- requests library"
diff --git a/test/apiv2/python/requirements.txt b/test/apiv2/python/requirements.txt
new file mode 100644
index 000000000..d9cfc687a
--- /dev/null
+++ b/test/apiv2/python/requirements.txt
@@ -0,0 +1,5 @@
+requests-mock~=1.9.3
+requests~=2.20.0
+setuptools~=50.3.2
+python-dateutil~=2.8.1
+PyYAML~=5.4.1