Skip to content

Commit

Permalink
Added comment to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jun 14, 2012
1 parent d9c8560 commit b7c2a98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cms/tests/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,11 @@ def test_changelist_items(self):
self.assertEqual(root_page.get_children()[0].get_children()[0], third_level_page)

def test_changelist_tree(self):
""" This test checks for proper jstree cookie unquoting.
It should be converted to a selenium test to actually test the jstree behaviour.
Cookie set below is just a forged example (from live session)
"""
admin = self._get_guys(True)
first_level_page = create_page('level1', 'nav_playground.html', 'en')
second_level_page_top = create_page('level21', "nav_playground.html", "en",
Expand Down

0 comments on commit b7c2a98

Please sign in to comment.