]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: constrain http pytest to tests/http directory
authorJan Venekamp <1422460+jan2000@users.noreply.github.com>
Wed, 21 Aug 2024 17:54:19 +0000 (19:54 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Aug 2024 09:47:10 +0000 (11:47 +0200)
commita4152864f8118b9017ecb125dcffda266e4053e1
treeb6e8bb5a3aefc884e34fa8f7805163aa84af9ebb
parentaeb1a281cab13c7ba791cb104e556b20e713941f
tests: constrain http pytest to tests/http directory

Running the http pytest had to be done from tests directory or above,
because the repeat argument fixture was defined in tests/conftest.py.
However, the repeat argument is not needed because its functionality
can be provided by pytest-repeat as documented in the test's
README.md. So, removed the pytest_addoption function for the repeat
argument and the pytest_report_header function is moved to
tests/http/conftest.py.

TODO: Remove repeat argument from all tests. As a stopgap, a
one-element list is defined for it for now.

Closes #14611
.github/workflows/http3-linux.yml
.github/workflows/linux.yml
tests/Makefile.am
tests/conftest.py [deleted file]
tests/http/README.md
tests/http/conftest.py