Rename test function

This commit is contained in:
Adrián Chaves 2026-01-20 12:15:25 +01:00 committed by GitHub
parent 1b9c8b55da
commit 842d0becf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1028,7 +1028,7 @@ class TestRedirectMiddleware(Base.Test):
_test("HEAD", status=308)
@pytest.mark.parametrize("status", [301, 302, 303])
def test_post_method_converted_on_301_302_303(self, status):
def test_method_becomes_get(self, status):
source_url = f"http://www.example.com/{status}"
target_url = "http://www.example.com/redirected2"
request = Request(