fix linting
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user