Fixing idention
This commit is contained in:
parent
5b9672e21e
commit
822a536ebe
@ -42,7 +42,7 @@ class TestHomeView(GlobalTemplateTestCaseMixin, ViewTestCase):
|
|||||||
self.assertGlobal(response)
|
self.assertGlobal(response)
|
||||||
|
|
||||||
def test_place_list_authenticated(self):
|
def test_place_list_authenticated(self):
|
||||||
"""
|
"""
|
||||||
Testing there is the place list containing the name,
|
Testing there is the place list containing the name,
|
||||||
location and description of the latest place for
|
location and description of the latest place for
|
||||||
authenticated users.
|
authenticated users.
|
||||||
@ -59,7 +59,7 @@ class TestHomeView(GlobalTemplateTestCaseMixin, ViewTestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def test_place_list_unauthenticated(self):
|
def test_place_list_unauthenticated(self):
|
||||||
"""
|
"""
|
||||||
Testing there is a place list of the lates places
|
Testing there is a place list of the lates places
|
||||||
containing the place names only for unauthenticated users.
|
containing the place names only for unauthenticated users.
|
||||||
"""
|
"""
|
||||||
@ -82,7 +82,7 @@ class TestHomeView(GlobalTemplateTestCaseMixin, ViewTestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def test_map_authenticated(self):
|
def test_map_authenticated(self):
|
||||||
"""
|
"""
|
||||||
Testing there is a map showing all the lates places
|
Testing there is a map showing all the lates places
|
||||||
on a map for authenticated users.
|
on a map for authenticated users.
|
||||||
"""
|
"""
|
||||||
@ -98,7 +98,7 @@ class TestHomeView(GlobalTemplateTestCaseMixin, ViewTestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def test_map_unauthenticated(self):
|
def test_map_unauthenticated(self):
|
||||||
"""
|
"""
|
||||||
Testing there is no map for unauthenticated users.
|
Testing there is no map for unauthenticated users.
|
||||||
"""
|
"""
|
||||||
response = self.client.get(reverse('lostplaces_home'))
|
response = self.client.get(reverse('lostplaces_home'))
|
||||||
|
Loading…
Reference in New Issue
Block a user