mirror of
https://github.com/containers/podman.git
synced 2025-09-18 07:51:22 +08:00
Move all python tests to pytest
* Add configuration to add report header for python client used in tests * Move report headers into the individual test runners vs runner.sh Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
8
test/apiv2/python/conftest.py
Normal file
8
test/apiv2/python/conftest.py
Normal file
@ -0,0 +1,8 @@
|
||||
"""
|
||||
Configure pytest
|
||||
"""
|
||||
|
||||
|
||||
def pytest_report_header(config):
|
||||
"""Add header to report."""
|
||||
return "python client -- requests library"
|
5
test/apiv2/python/requirements.txt
Normal file
5
test/apiv2/python/requirements.txt
Normal file
@ -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
|
Reference in New Issue
Block a user