Skip to content

Commit ad90024

Browse files
committed
Remove excessive functional tests
1 parent 0f1bc46 commit ad90024

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/functional/test_exclude_newer.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,6 @@ def test_exclude_newer_than_invalid_date(
2121
# Should fail with date parsing error
2222
assert "invalid" in result.stderr.lower() or "error" in result.stderr.lower()
2323

24-
def test_exclude_newer_than_help_text(self, script: PipTestEnvironment) -> None:
25-
"""Test that --exclude-newer-than appears in help text."""
26-
result = script.pip("install", "--help")
27-
assert "--exclude-newer-than" in result.stdout
28-
assert "datetime" in result.stdout
29-
30-
@pytest.mark.parametrize("command", ["install", "download", "wheel"])
31-
def test_exclude_newer_than_available_in_commands(
32-
self, script: PipTestEnvironment, command: str
33-
) -> None:
34-
"""Test that --exclude-newer-than is available in relevant commands."""
35-
result = script.pip(command, "--help")
36-
assert "--exclude-newer-than" in result.stdout
37-
3824
@pytest.mark.network
3925
def test_exclude_newer_than_with_real_pypi(
4026
self, script: PipTestEnvironment

0 commit comments

Comments
 (0)