Skip to content

Commit a393a22

Browse files
committed
Use pytest 9's own subtests fixture
1 parent b6d0ac6 commit a393a22

5 files changed

Lines changed: 7 additions & 9 deletions

File tree

lint_requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Lint requirements
2-
ruff==0.14.14
3-
mypy==1.19.1
4-
shellcheck-py==0.11.0.1
2+
ruff~=0.14.14
3+
mypy~=1.19.1
4+
shellcheck-py~=0.11.0.1
55

66
# Type annotation stubs
77
types-pygments

lower_bounds_constraints.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
click==8.0.0
2-
packaging==20.0
2+
packaging==22.0
33
PyYAML==5.3
44
requests==2.24.0;python_version<"3.12"
55
requests==2.25.1;python_version>="3.12"

pulp-glue/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
]
2525
dependencies = [
2626
"multidict>=6.0.5,<6.8",
27-
"packaging>=20.0,<=26.0", # CalVer
27+
"packaging>=22.0,<=26.0", # CalVer
2828
"requests>=2.24.0,<2.33",
2929
"tomli>=2.0.0,<2.1;python_version<'3.11'",
3030
]

test_requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Test requirements
2-
pytest>=7.0.0,<9.1
2+
pytest>=9.0.0,<9.1
33
pytest-xdist
4-
pytest-subtests>=0.12.0,<0.16
54
python-gnupg>=0.5.0,<0.6
65
trustme>=1.1.0,<1.3
76
jinja2>=3.1.4,<3.2

tests/test_help_pages.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import click
55
import pytest
66
from click.testing import CliRunner
7-
from pytest_subtests.plugin import SubTests
87

98
from pulp_cli import load_plugins, main
109

@@ -40,7 +39,7 @@ def getter(self: t.Any) -> None:
4039

4140

4241
@pytest.mark.help_page
43-
def test_access_help(no_api: None, subtests: SubTests) -> None:
42+
def test_access_help(no_api: None, subtests: pytest.Subtests) -> None:
4443
"""Test, that all help screens are accessible without touching the api property."""
4544
runner = CliRunner()
4645
for args in traverse_commands(main, []):

0 commit comments

Comments
 (0)