Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd ListLoad Str Str Str Str Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body With Call NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call NameLoad Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body With Call NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Str Str Assign NameStore Call NameLoad Str Str Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call NameLoad Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call NameLoad NameLoad NameLoad Str keyword Str Expr Call NameLoad NameLoad NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num attr Index Num NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call NameLoad NameLoad NameLoad Str keyword Str Expr Call NameLoad NameLoad NameLoad Str keyword Str Expr Call NameLoad NameLoad Str Str keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call NameLoad NameLoad NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num decorator_list Call NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad NameLoad Str NameLoad keyword Str Expr Call NameLoad NameLoad Str NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Str NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Str NameLoad keyword NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad attr Assign NameStore NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str BinOpMod Str NameLoad BinOpMod Str NameLoad keyword NameLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call NameLoad Str Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call NameLoad NameLoad Str Str keyword Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr BinOpSub NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call NameLoad Str Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call NameLoad NameLoad Str Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr attr Num For NameStore Call NameLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr CompareIn BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Dict Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword NameLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str keyword Str keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str keyword Str keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Str keyword NameLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore BinOpSub Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Str BinOpMod Str NameLoad keyword NameLoad keyword NameLoad For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd NameLoad BinOpMult NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str Str Str Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A uuid cms.test_utils.project.sampleapp.cms_apps SampleApp cms.test_utils.util.context_managers apphooks django.conf settings django.contrib.sites.models Site django.core management django.core.management CommandError django.test.utils override_settings django.utils.six.moves StringIO cms.api create_page add_plugin create_title cms.management.commands.subcommands.list plugin_report cms.models Page StaticPlaceholder cms.models.placeholdermodel Placeholder cms.models.pluginmodel CMSPlugin cms.test_utils.fixtures.navextenders NavextendersFixture cms.test_utils.testcases CMSTestCase djangocms_text_ckeditor.cms_plugins TextPlugin N/A APPHOOK SampleApp N/A PLUGIN TextPlugin N/A TEST_INSTALLED_APPS N/A N/A django.contrib.auth cms menus sekizai treebeard N/A settings PLUGIN_APPS N/A N/A N/A settings AUTH_USER_MODEL emailuserapp.EmailUser N/A N/A N/A N/A TEST_INSTALLED_APPS append cms.test_utils.project.emailuserapp N/A N/A N/A settings AUTH_USER_MODEL customuserapp.User N/A N/A N/A N/A TEST_INSTALLED_APPS append cms.test_utils.project.customuserapp ManagementTestCase N/A CMSTestCase N/A test_list_apphooks N/A N/A self N/A N/A N/A N/A apphooks SampleApp N/A N/A out N/A StringIO N/A N/A create_page Hello Title nav_playground.html en apphook APPHOOK N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Page objects filter application_urls APPHOOK count 1 N/A N/A N/A management call_command cms list apphooks interactive False stdout out N/A N/A N/A self assertEqual N/A N/A out getvalue SampleApp (draft)
 N/A N/A override_settings INSTALLED_APPS TEST_INSTALLED_APPS test_uninstall_apphooks_without_apphook N/A N/A self N/A N/A N/A N/A apphooks N/A N/A out N/A StringIO N/A N/A N/A management call_command cms uninstall apphooks APPHOOK interactive False stdout out N/A N/A N/A self assertEqual N/A N/A out getvalue no 'SampleApp' apphooks found
 N/A test_fix_tree N/A N/A self N/A N/A N/A N/A create_page home nav_playground.html en N/A page1 N/A create_page page nav_playground.html en N/A N/A page1 depth 3 N/A N/A page1 numchild 4 N/A N/A page1 path 00100010 N/A N/A N/A page1 save N/A out N/A StringIO N/A N/A N/A management call_command cms fix-tree interactive False stdout out N/A N/A N/A self assertEqual N/A N/A out getvalue fixing page tree
fixing plugin tree
all done
 N/A page1 N/A N/A page1 reload N/A N/A N/A self assertEqual N/A page1 path 0002 N/A N/A N/A self assertEqual N/A page1 depth 1 N/A N/A N/A self assertEqual N/A page1 numchild 0 N/A test_uninstall_apphooks_with_apphook N/A N/A self N/A N/A N/A N/A apphooks SampleApp N/A N/A out N/A StringIO N/A N/A create_page Hello Title nav_playground.html en apphook APPHOOK N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Page objects filter application_urls APPHOOK count 1 N/A N/A N/A management call_command cms uninstall apphooks APPHOOK interactive False stdout out N/A N/A N/A self assertEqual N/A N/A out getvalue 1 'SampleApp' apphooks uninstalled
 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Page objects filter application_urls APPHOOK count 0 N/A N/A override_settings INSTALLED_APPS TEST_INSTALLED_APPS test_list_plugins N/A N/A self N/A N/A N/A out N/A StringIO N/A placeholder N/A N/A N/A Placeholder objects create slot test N/A N/A add_plugin placeholder TextPlugin en body en body N/A N/A add_plugin placeholder TextPlugin en body en body N/A link_plugin N/A add_plugin placeholder LinkPlugin en name A Link url https://www.django-cms.org N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter plugin_type PLUGIN count 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter plugin_type LinkPlugin count 1 N/A instanceless_plugin N/A CMSPlugin language en plugin_type TextPlugin N/A N/A N/A instanceless_plugin save N/A bogus_plugin N/A CMSPlugin language en plugin_type BogusPlugin N/A N/A N/A bogus_plugin save N/A N/A N/A management call_command cms list plugins interactive False stdout out N/A report N/A plugin_report N/A N/A N/A self assertEqual N/A len report 3 N/A bogus_plugins_report N/A report N/A 0 N/A N/A N/A self assertEqual N/A bogus_plugins_report N/A model None N/A N/A N/A self assertEqual N/A bogus_plugins_report N/A type BogusPlugin N/A N/A N/A self assertEqual N/A N/A bogus_plugins_report N/A instances N/A 0 bogus_plugin N/A link_plugins_report N/A report N/A 1 N/A N/A N/A self assertEqual N/A link_plugins_report N/A model N/A link_plugin __class__ N/A N/A N/A self assertEqual N/A link_plugins_report N/A type LinkPlugin N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A link_plugins_report N/A instances N/A 0 get_plugin_instance N/A 0 link_plugin N/A text_plugins_report N/A report N/A 2 N/A N/A N/A self assertEqual N/A text_plugins_report N/A model N/A TextPlugin model N/A N/A N/A self assertEqual N/A text_plugins_report N/A type TextPlugin N/A N/A N/A self assertEqual N/A len N/A text_plugins_report N/A instances 3 N/A N/A N/A self assertEqual N/A N/A text_plugins_report N/A instances N/A 2 instanceless_plugin N/A N/A N/A self assertEqual N/A text_plugins_report N/A unsaved_instances N/A instanceless_plugin N/A N/A override_settings INSTALLED_APPS TEST_INSTALLED_APPS test_delete_orphaned_plugins N/A N/A self N/A N/A N/A placeholder N/A N/A N/A Placeholder objects create slot test N/A N/A add_plugin placeholder TextPlugin en body en body N/A N/A add_plugin placeholder TextPlugin en body en body N/A N/A add_plugin placeholder LinkPlugin en name A Link url https://www.django-cms.org N/A instanceless_plugin N/A CMSPlugin language en plugin_type TextPlugin N/A N/A N/A instanceless_plugin save N/A bogus_plugin N/A CMSPlugin language en plugin_type BogusPlugin N/A N/A N/A bogus_plugin save N/A report N/A plugin_report N/A N/A N/A self assertEqual N/A len report 3 N/A bogus_plugins_report N/A report N/A 0 N/A N/A N/A self assertEqual N/A len N/A bogus_plugins_report N/A instances 1 N/A link_plugins_report N/A report N/A 1 N/A N/A N/A self assertEqual N/A len N/A link_plugins_report N/A instances 1 N/A text_plugins_report N/A report N/A 2 N/A N/A N/A self assertEqual N/A len N/A text_plugins_report N/A instances 3 N/A N/A N/A self assertEqual N/A len N/A text_plugins_report N/A unsaved_instances 1 N/A out N/A StringIO N/A N/A N/A management call_command cms delete-orphaned-plugins interactive False stdout out N/A report N/A plugin_report N/A N/A N/A self assertEqual N/A len report 2 N/A link_plugins_report N/A report N/A 0 N/A N/A N/A self assertEqual N/A len N/A link_plugins_report N/A instances 1 N/A text_plugins_report N/A report N/A 1 N/A N/A N/A self assertEqual N/A len N/A text_plugins_report N/A instances 2 N/A N/A N/A self assertEqual N/A len N/A text_plugins_report N/A unsaved_instances 0 N/A N/A override_settings INSTALLED_APPS TEST_INSTALLED_APPS test_uninstall_plugins_without_plugin N/A N/A self N/A N/A N/A out N/A StringIO N/A N/A N/A management call_command cms uninstall plugins PLUGIN interactive False stdout out N/A N/A N/A self assertEqual N/A N/A out getvalue no 'TextPlugin' plugins found
 N/A test_uninstall_plugins_with_plugin N/A N/A self N/A N/A N/A out N/A StringIO N/A placeholder N/A N/A N/A Placeholder objects create slot test N/A N/A add_plugin placeholder TextPlugin en body en body N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter plugin_type PLUGIN count 1 N/A N/A N/A management call_command cms uninstall plugins PLUGIN interactive False stdout out N/A N/A N/A self assertEqual N/A N/A out getvalue 1 'TextPlugin' plugins uninstalled
 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter plugin_type PLUGIN count 0 N/A N/A override_settings INSTALLED_APPS TEST_INSTALLED_APPS N/A PageFixtureManagementTestCase N/A NavextendersFixture CMSTestCase N/A _fill_page_body N/A N/A self page lang N/A N/A N/A ph_en N/A N/A N/A page placeholders get slot body N/A mcol1 N/A add_plugin ph_en MultiColumnPlugin lang position first-child N/A N/A add_plugin ph_en ColumnPlugin lang position first-child target mcol1 N/A col2 N/A add_plugin ph_en ColumnPlugin lang position first-child target mcol1 N/A mcol2 N/A add_plugin ph_en MultiColumnPlugin lang position first-child target col2 N/A N/A add_plugin ph_en ColumnPlugin lang position first-child target mcol2 N/A col4 N/A add_plugin ph_en ColumnPlugin lang position first-child target mcol2 N/A N/A add_plugin ph_en LinkPlugin lang target col4 name A Link url https://www.django-cms.org N/A static_placeholder N/A StaticPlaceholder code N/A str N/A N/A uuid uuid4 site_id 1 N/A N/A N/A static_placeholder save N/A N/A add_plugin N/A static_placeholder draft TextPlugin lang body example content N/A setUp N/A N/A self N/A N/A N/A pages N/A N/A N/A Page objects drafts N/A page pages N/A N/A N/A N/A self _fill_page_body page en N/A test_copy_langs N/A N/A self N/A N/A N/A 
        Various checks here:

         * plugins are exactly doubled, half per language with no orphaned plugin
         * the bottom-most plugins in the nesting chain maintain the same position and the same content
         * the top-most plugin are of the same type
         N/A site 1 N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects all count N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=en --to-lang=de interactive False stdout out N/A pages N/A N/A N/A N/A N/A Page objects on_site site drafts N/A page pages N/A N/A N/A N/A self assertEqual N/A set N/A en de N/A set N/A N/A page get_languages N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects all count N/A number_start_plugins 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language en count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language de count number_start_plugins N/A root_page N/A N/A N/A N/A N/A Page objects on_site site get_home N/A root_plugins N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A root_page placeholders get slot body N/A N/A first_plugin_en _ N/A N/A N/A N/A root_plugins get language en parent None get_plugin_instance N/A N/A first_plugin_de _ N/A N/A N/A N/A root_plugins get language de parent None get_plugin_instance N/A N/A N/A self assertEqual N/A first_plugin_en plugin_type N/A first_plugin_de plugin_type N/A N/A link_en _ N/A N/A N/A N/A root_plugins get language en plugin_type LinkPlugin get_plugin_instance N/A N/A link_de _ N/A N/A N/A N/A root_plugins get language de plugin_type LinkPlugin get_plugin_instance N/A N/A N/A self assertEqual N/A link_en url N/A link_de url N/A N/A N/A self assertEqual N/A N/A link_en get_position_in_placeholder N/A N/A link_de get_position_in_placeholder N/A stack_plugins N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A N/A N/A StaticPlaceholder objects order_by ? N/A 0 draft N/A N/A stack_text_en _ N/A N/A N/A N/A stack_plugins get language en plugin_type TextPlugin get_plugin_instance N/A N/A stack_text_de _ N/A N/A N/A N/A stack_plugins get language de plugin_type TextPlugin get_plugin_instance N/A N/A N/A self assertEqual N/A stack_text_en plugin_type N/A stack_text_de plugin_type N/A N/A N/A self assertEqual N/A stack_text_en body N/A stack_text_de body N/A test_copy_langs_no_content N/A N/A self N/A N/A N/A 
        Various checks here:

         * page structure is copied
         * no plugin is copied
         N/A site 1 N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects all count N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=en --to-lang=de --skip-content interactive False stdout out N/A pages N/A N/A N/A N/A N/A Page objects on_site site drafts N/A page pages N/A N/A N/A N/A self assertEqual N/A set N/A en de N/A set N/A N/A page get_languages N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects all count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language en count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language de count 0 N/A root_page N/A N/A N/A N/A N/A Page objects on_site site get_home N/A root_plugins N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A root_page placeholders get slot body N/A N/A first_plugin_en _ N/A N/A N/A N/A root_plugins get language en parent None get_plugin_instance N/A first_plugin_de None N/A N/A N/A self assertRaises N/A CMSPlugin DoesNotExist N/A N/A N/A first_plugin_de _ N/A N/A N/A N/A root_plugins get language de parent None get_plugin_instance N/A N/A N/A self assertIsNone first_plugin_de N/A stack_plugins N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A N/A N/A StaticPlaceholder objects order_by ? N/A 0 draft N/A N/A stack_text_en _ N/A N/A N/A N/A stack_plugins get language en plugin_type TextPlugin get_plugin_instance N/A N/A N/A self assertRaises N/A CMSPlugin DoesNotExist N/A N/A N/A stack_text_de _ N/A N/A N/A N/A stack_plugins get language de plugin_type TextPlugin get_plugin_instance N/A test_copy_sites N/A N/A self N/A N/A N/A 
        Various checks here:

         * plugins are exactly doubled, half per site with no orphaned plugin
         * the bottom-most plugins in the nesting chain maintain the same position and the same content
         * the top-most plugin are of the same type
         N/A site_1_pk 1 N/A site_2 N/A N/A N/A Site objects create name site 2 N/A site_2_pk N/A site_2 pk N/A phs N/A N/A page N/A N/A N/A N/A N/A Page objects on_site site_1_pk drafts N/A N/A N/A N/A phs extend N/A N/A N/A page placeholders values_list pk flat True N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects filter placeholder__in phs count N/A out N/A StringIO N/A N/A N/A management call_command cms copy site N/A --from-site=%s site_1_pk N/A --to-site=%s site_2_pk stdout out N/A page N/A N/A N/A N/A N/A Page objects on_site site_1_pk drafts N/A N/A N/A N/A page publish en N/A page N/A N/A N/A N/A N/A Page objects on_site site_2_pk drafts N/A N/A N/A N/A page publish en N/A pages_1 N/A list N/A N/A N/A N/A N/A Page objects on_site site_1_pk drafts N/A pages_2 N/A list N/A N/A N/A N/A N/A Page objects on_site site_2_pk drafts N/A N/A index page N/A enumerate pages_1 N/A N/A N/A N/A self assertEqual N/A N/A page get_title en N/A N/A N/A pages_2 N/A index get_title en N/A N/A N/A self assertEqual N/A page depth N/A N/A pages_2 N/A index depth N/A phs_1 N/A N/A phs_2 N/A N/A page N/A N/A N/A N/A N/A Page objects on_site site_1_pk drafts N/A N/A N/A N/A phs_1 extend N/A N/A N/A page placeholders values_list pk flat True N/A page N/A N/A N/A N/A N/A Page objects on_site site_2_pk drafts N/A N/A N/A N/A phs_2 extend N/A N/A N/A page placeholders values_list pk flat True N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter placeholder__in phs_1 count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter placeholder__in phs_2 count number_start_plugins N/A root_page_1 N/A N/A N/A N/A N/A Page objects on_site site_1_pk get_home site_1_pk N/A root_page_2 N/A N/A N/A N/A N/A Page objects on_site site_2_pk get_home site_2_pk N/A root_plugins_1 N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A root_page_1 placeholders get slot body N/A root_plugins_2 N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A root_page_2 placeholders get slot body N/A N/A first_plugin_1 _ N/A N/A N/A N/A root_plugins_1 get language en parent None get_plugin_instance N/A N/A first_plugin_2 _ N/A N/A N/A N/A root_plugins_2 get language en parent None get_plugin_instance N/A N/A N/A self assertEqual N/A first_plugin_1 plugin_type N/A first_plugin_2 plugin_type N/A N/A link_1 _ N/A N/A N/A N/A root_plugins_1 get language en plugin_type LinkPlugin get_plugin_instance N/A N/A link_2 _ N/A N/A N/A N/A root_plugins_2 get language en plugin_type LinkPlugin get_plugin_instance N/A N/A N/A self assertEqual N/A link_1 url N/A link_2 url N/A N/A N/A self assertEqual N/A N/A link_1 get_position_in_placeholder N/A N/A link_2 get_position_in_placeholder N/A test_copy_existing_title N/A N/A self N/A N/A N/A 
        Even if a title already exists the copy is successfull, the original
        title remains untouched
         N/A site 1 N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects all count N/A root_page N/A N/A N/A N/A N/A Page objects on_site site get_home N/A N/A create_title de root page de root_page N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=en --to-lang=de interactive False stdout out N/A pages N/A N/A N/A N/A N/A Page objects on_site site drafts N/A page pages N/A N/A N/A N/A self assertEqual N/A set N/A en de N/A set N/A N/A page get_languages N/A N/A N/A self assertEqual root page de N/A N/A N/A N/A N/A N/A N/A Page objects on_site site get_home get_title de N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects all count N/A number_start_plugins 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language en count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language de count number_start_plugins N/A test_copy_filled_placeholder N/A N/A self N/A N/A N/A 
        If an existing title in the target language has plugins in a placeholder
        that placeholder is skipped
         N/A site 1 N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects all count N/A root_page N/A N/A N/A N/A N/A Page objects on_site site get_home N/A N/A create_title de root page de root_page N/A ph N/A N/A N/A root_page placeholders get slot body N/A N/A add_plugin ph TextPlugin de body Hello World N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=en --to-lang=de interactive False stdout out N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language en count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language de count N/A number_start_plugins 6 N/A test_copy_filled_placeholder_force_copy N/A N/A self N/A N/A N/A 
        If an existing title in the target language has plugins in a placeholder
        and the command is called with *force-copy*, the plugins are copied on
        top of the existing one
         N/A site 1 N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects all count N/A root_page N/A N/A N/A N/A N/A Page objects on_site site get_home N/A N/A create_title de root page de root_page N/A ph N/A N/A N/A root_page placeholders get slot body N/A N/A add_plugin ph TextPlugin de body Hello World N/A root_plugins N/A N/A N/A CMSPlugin objects filter placeholder ph N/A N/A text_de_orig _ N/A N/A N/A N/A root_plugins get language de plugin_type TextPlugin get_plugin_instance N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=en --to-lang=de --force interactive False stdout out N/A N/A N/A N/A CMSPlugin objects filter placeholder N/A N/A N/A root_page placeholders get slot body N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language en count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language de count N/A number_start_plugins 1 N/A test_copy_from_non_existing_lang N/A N/A self N/A N/A N/A 
        If an existing title in the target language has plugins in a placeholder
        and the command is called with *force-copy*, the plugins are copied on
        top of the existing one
         N/A site 1 N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=de --to-lang=fr verbosity 3 interactive False stdout out N/A text N/A N/A out getvalue N/A page_count N/A N/A N/A N/A N/A N/A N/A N/A Page objects on_site site drafts count 1 N/A idx N/A range 1 page_count N/A N/A N/A N/A self assertTrue N/A N/A Skipping page page%d, language de not defined idx text N/A test_copy_site_safe N/A N/A self N/A N/A N/A 
        Check that copy of languages on one site does not interfere with other
        sites
         N/A site_other 1 N/A site_active 2 N/A origina_site1_langs N/A N/A number_start_plugins N/A N/A N/A N/A N/A CMSPlugin objects all count N/A site_obj N/A N/A N/A Site objects create domain sample2.com name sample2.com pk site_active N/A page N/A N/A N/A N/A N/A Page objects on_site 1 drafts N/A N/A N/A origina_site1_langs N/A N/A page pk N/A set N/A N/A page get_languages N/A p1 N/A create_page page1 published True in_navigation True language de template nav_playground.html site site_obj N/A N/A create_page page4 published True in_navigation True language de template nav_playground.html site site_obj N/A N/A create_page page2 published True in_navigation True parent p1 language de template nav_playground.html site site_obj N/A page N/A N/A N/A N/A N/A Page objects on_site site_active drafts N/A N/A N/A N/A self _fill_page_body page de N/A number_site2_plugins N/A N/A N/A N/A N/A N/A CMSPlugin objects all count number_start_plugins N/A out N/A StringIO N/A N/A N/A management call_command cms copy lang --from-lang=de --to-lang=fr N/A --site=%s site_active interactive False stdout out N/A page N/A N/A N/A N/A N/A Page objects on_site site_other drafts N/A N/A N/A N/A self assertEqual N/A origina_site1_langs N/A N/A page pk N/A set N/A N/A page get_languages N/A page N/A N/A N/A N/A N/A Page objects on_site site_active drafts N/A N/A N/A N/A self assertEqual N/A set N/A de fr N/A set N/A N/A page get_languages N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language en count number_start_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language de count number_site2_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects filter language fr count number_site2_plugins N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A CMSPlugin objects all count N/A number_start_plugins N/A number_site2_plugins 2 N/A test_copy_bad_languages N/A N/A self N/A N/A N/A out N/A StringIO N/A N/A N/A self assertRaises CommandError command_error N/A N/A N/A N/A management call_command cms copy lang --from-lang=it --to-lang=fr interactive False stdout out N/A N/A N/A self assertEqual N/A str N/A command_error exception Both languages have to be present in settings.LANGUAGES and settings.CMS_LANGUAGES N/A N/A