From dca2e7924ba5346eb78a3b7091d15b316e4e925a Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 2 Mar 2022 09:50:48 -0700 Subject: 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 --- test/apiv2/python/conftest.py | 8 ++++++++ test/apiv2/python/requirements.txt | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 test/apiv2/python/conftest.py create mode 100644 test/apiv2/python/requirements.txt (limited to 'test/apiv2/python') 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 -- cgit v1.2.3-54-g00ecf