mirror of
https://github.com/curl/curl.git
synced 2026-06-03 15:24:16 +03:00
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
This commit is contained in:
parent
aeb1a281ca
commit
a4152864f8
6 changed files with 34 additions and 72 deletions
2
.github/workflows/http3-linux.yml
vendored
2
.github/workflows/http3-linux.yml
vendored
|
|
@ -470,7 +470,7 @@ jobs:
|
|||
env:
|
||||
TFLAGS: "${{ matrix.build.tflags }}"
|
||||
|
||||
- run: pytest -v tests
|
||||
- run: pytest -v tests/http
|
||||
name: 'run pytest'
|
||||
env:
|
||||
TFLAGS: "${{ matrix.build.tflags }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue