Skip to content

Commit 44ed34b

Browse files
committed
Adapted test_page_tree_regression_5892 to be more specific
1 parent bfbf505 commit 44ed34b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cms/tests/test_page_admin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,8 +1084,8 @@ def _parse_html(html):
10841084

10851085
def test_page_tree_regression_5892(self):
10861086
# ref: https://github.com/divio/django-cms/issues/5892
1087-
# Tests tree integrity when moving sibling pages from right
1088-
# to left under the same parent.
1087+
# Tests the escaping of characters for a german translation
1088+
# in the page tree.
10891089
superuser = self.get_superuser()
10901090

10911091
create_page('Home', 'nav_playground.html', 'en')
@@ -1100,7 +1100,7 @@ def test_page_tree_regression_5892(self):
11001100
self.assertEqual(response.status_code, 200)
11011101
parsed = self._parse_page_tree(response, parser_class=PageTreeOptionsParser)
11021102
content = force_text(parsed)
1103-
self.assertIn(u'Seiten Einstellungen (Shift-Klick für erweiterte Einstellungen)', content)
1103+
self.assertIn(u'(Shift-Klick für erweiterte Einstellungen)', content)
11041104

11051105
def test_page_get_tree_endpoint_flat(self):
11061106
superuser = self.get_superuser()

0 commit comments

Comments
 (0)