add docstrings

This commit is contained in:
2025-09-09 16:32:32 +02:00
parent aca7042c56
commit 286f1cb57b
5 changed files with 13 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ from django.test import Client
def test_server_should_answer_200():
""" test the server's response """
""" test the server's response on home """
c = Client()
url = reverse('index')
response = c.get(url)
@@ -12,7 +12,7 @@ def test_server_should_answer_200():
def test_home_url():
""" test the home page"""
""" test the home url """
url = reverse('index')
assert resolve(url).view_name == 'index'
assert resolve(url).func, index()