Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

comment fix

  • Loading branch information...
commit d5d075c905e9539dee17eaa2116b5a3caffff8c8 1 parent f41db1e
@fivethreeo fivethreeo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cms/tests/apphooks.py
View
4 cms/tests/apphooks.py
@@ -106,7 +106,7 @@ def test_04_get_page_for_apphook(self):
request = self.get_request(path)
request.LANGUAGE_CODE = 'en'
- attached_to_page = applications_page_check(request, path=path[1:]) # strip trailing slash
+ attached_to_page = applications_page_check(request, path=path[1:]) # strip leading slash
self.assertEquals(attached_to_page.get_title('en'), en_title)
response = self.client.get(path)
@@ -121,7 +121,7 @@ def test_04_get_page_for_apphook(self):
request = self.get_request(path)
request.LANGUAGE_CODE = 'de'
- attached_to_page = applications_page_check(request, path=path[4:]) # strip trailing slash and language prefix
+ attached_to_page = applications_page_check(request, path=path[4:]) # strip leading slash and language prefix
self.assertEquals(attached_to_page.get_title('de'), de_title)
response = self.client.get(path)
Please sign in to comment.
Something went wrong with that request. Please try again.