fix linting

This commit is contained in:
2025-09-10 12:33:33 +02:00
parent f5c04f9d58
commit f425673953
6 changed files with 29 additions and 30 deletions

View File

@@ -15,4 +15,4 @@ def test_home_url():
""" test the home url """
url = reverse('index')
assert resolve(url).view_name == 'index'
assert resolve(url).func, index()
assert resolve(url).func, index()

View File

@@ -7,4 +7,4 @@ def test_view_should_reply_title_on_home():
c = Client()
url = reverse('index')
response = c.get(url)
assert "Welcome to Holiday Homes</h1>" in response.content.decode()
assert "Welcome to Holiday Homes</h1>" in response.content.decode()