Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Str keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num keyword Str keyword Str decorator_list decorator_list
N/A django.contrib.auth.models User django.core.urlresolvers reverse django.db IntegrityError django.test TestCase django.test.client Client lfs.tests.utils DummyRequest lfs.page.models Page PageTestCase N/A TestCase N/A N/A Unit tests for lfs.page
     N/A fixtures N/A lfs_shop.xml lfs_user.xml setUp N/A N/A self N/A N/A N/A N/A N/A N/A N/A self client login username admin password admin N/A N/A self user N/A N/A N/A User objects get username admin N/A N/A self request N/A DummyRequest user N/A self user N/A N/A self root N/A N/A N/A Page objects create id 1 title Root slug exclude_from_navigation False N/A N/A self page N/A N/A N/A Page objects create id 2 title Page Title slug page-title body <p>This is a body</p> short_text This is a short text N/A test_add_page N/A N/A self N/A N/A N/A Tests to add a page.
         N/A N/A N/A self assertEqual N/A N/A self page id 2 N/A N/A N/A self assertEqual N/A N/A self page title Page Title N/A N/A N/A self assertEqual N/A N/A self page slug page-title N/A N/A N/A self assertEqual N/A N/A self page body <p>This is a body</p> N/A N/A N/A self assertEqual N/A N/A self page active False N/A N/A N/A self assertEqual N/A N/A self page position 999 N/A test_page_view_1 N/A N/A self N/A N/A N/A Tests page view as superuser.
         N/A url N/A reverse lfs_page_view kwargs N/A slug N/A N/A self page slug N/A response N/A N/A N/A self client get url N/A N/A N/A self failIf N/A N/A N/A N/A response content find Page Title -1 N/A N/A N/A self failIf N/A N/A N/A N/A response content find <p>This is a body</p> -1 N/A test_page_view_2 N/A N/A self N/A N/A N/A Tests page view as anonymous.
         N/A N/A N/A N/A self client logout N/A url N/A reverse lfs_page_view kwargs N/A slug N/A N/A self page slug N/A response N/A N/A N/A self client get url N/A N/A N/A self failIf N/A N/A N/A N/A response content find We are sorry -1 N/A N/A N/A self page active True N/A N/A N/A N/A self page save N/A response N/A N/A N/A self client get url N/A N/A N/A self failIf N/A N/A N/A N/A response content find Page Title -1 N/A N/A N/A self failIf N/A N/A N/A N/A response content find <p>This is a body</p> -1 N/A test_active_pages N/A N/A self N/A N/A N/A Tests the ActiveManager for pages.
         N/A pages N/A N/A N/A Page objects active N/A N/A N/A self assertEqual N/A len pages 0 N/A N/A N/A self page active True N/A N/A N/A N/A self page save N/A pages N/A N/A N/A Page objects active N/A N/A N/A self assertEqual N/A len pages 1 N/A test_get_meta_title N/A N/A self N/A N/A N/A N/A N/A self assertEqual Page Title N/A N/A N/A self page get_meta_title N/A N/A N/A self page meta_title John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual John Doe N/A N/A N/A self page get_meta_title N/A N/A N/A self page meta_title <title> - John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual Page Title - John Doe N/A N/A N/A self page get_meta_title N/A N/A N/A self page meta_title John Doe - <title> N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual John Doe - Page Title N/A N/A N/A self page get_meta_title N/A test_get_meta_keywords N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self page get_meta_keywords N/A N/A N/A self page meta_keywords John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual John Doe N/A N/A N/A self page get_meta_keywords N/A N/A N/A self page meta_keywords <title> - John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual Page Title - John Doe N/A N/A N/A self page get_meta_keywords N/A N/A N/A self page meta_keywords <short-text> - John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual This is a short text - John Doe N/A N/A N/A self page get_meta_keywords N/A N/A N/A self page meta_keywords <short-text> - John Doe - <title> N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual This is a short text - John Doe - Page Title N/A N/A N/A self page get_meta_keywords N/A test_get_meta_description N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self page get_meta_description N/A N/A N/A self page meta_description John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual John Doe N/A N/A N/A self page get_meta_description N/A N/A N/A self page meta_description <title> - John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual Page Title - John Doe N/A N/A N/A self page get_meta_description N/A N/A N/A self page meta_description <short-text> - John Doe N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual This is a short text - John Doe N/A N/A N/A self page get_meta_description N/A N/A N/A self page meta_description <short-text> - John Doe - <title> N/A N/A N/A N/A self page save N/A N/A N/A self assertEqual This is a short text - John Doe - Page Title N/A N/A N/A self page get_meta_description N/A test_add_page_with_existing_slug N/A N/A self N/A N/A N/A next_id N/A N/A N/A N/A Page objects count 1 N/A N/A N/A N/A Page objects create id next_id title Test1 slug test N/A N/A N/A self assertRaises IntegrityError N/A N/A Page objects create id N/A next_id 1 title Test2 slug test N/A N/A