[refactor] rename test name
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
SouthFox 2023-06-13 17:24:39 +08:00
parent ad2acabf34
commit e427290f77
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Test inbox route.""" """Test inbox route."""
def test_inbox(client): def test_inbox_no_signature_key(client):
"""Test inbox""" """Test inbox"""
response = client.post("/inbox", response = client.post("/inbox",
data={"name": "Test"}) data={"name": "Test"})

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Test App index""" """Test App index"""
def test_request_example(client): def test_index_page(client):
"""Test index path""" """Test index path"""
response = client.get("/") response = client.get("/")
assert b"Hello Fediverse!" in response.data assert b"Hello Fediverse!" in response.data