Module Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr With Call NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad Call NameLoad Str Index Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os django.conf settings django.core.files File DjangoFile django.test TransactionTestCase django.utils.translation override cms api cms.utils get_cms_setting filer.models.filemodels File filer.tests.helpers create_image BasePluginTestMixin N/A object N/A N/A plugin_to_test TextPlugin N/A plugin_params N/A _create_plugin N/A N/A self page language N/A None None plugin_params N/A N/A 
        Create plugin of type self.plugin_to_test and plugin_params in
        given language to a page placeholder.
        Assumes that page has that translation.
         N/A N/A page None N/A N/A page N/A self page N/A N/A language None N/A N/A language en N/A placeholder N/A N/A N/A N/A page placeholders all N/A 0 N/A plugin N/A N/A api add_plugin placeholder N/A self plugin_to_test language plugin_params N/A N/A N/A page publish language N/A plugin N/A get_plugin_params N/A N/A self N/A N/A N/A params N/A N/A N/A N/A params update N/A self plugin_params N/A params N/A create_plugin N/A N/A self N/A kwargs N/A N/A 
        Create plugin on a page, use this to provide additional actions or
        settings if needed.
         N/A plugin_args N/A N/A self get_plugin_params N/A kwargs N/A N/A N/A N/A plugin_args update kwargs N/A N/A N/A self _create_plugin plugin_args N/A test_plugin_can_be_added N/A N/A self N/A N/A N/A plugin N/A N/A self create_plugin N/A N/A N/A self assertTrue N/A plugin None N/A N/A N/A self assertIn N/A plugin cmsplugin_ptr N/A N/A N/A N/A N/A N/A N/A self page placeholders all N/A 0 get_plugins N/A test_plugin_does_not_breakes_page N/A N/A self N/A N/A N/A N/A N/A self create_plugin N/A N/A override en N/A N/A page_url N/A N/A N/A self page get_absolute_url N/A response N/A N/A N/A self client get page_url N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A CmsPluginsFilerBaseTestCase N/A TransactionTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CmsPluginsFilerBaseTestCase self setUp N/A N/A self template N/A N/A N/A get_cms_setting TEMPLATES N/A 0 N/A 0 N/A N/A self language N/A N/A N/A settings LANGUAGES N/A 0 N/A 0 N/A N/A self root_page N/A N/A self create_root_page N/A page N/A N/A api create_page title Plugins test en template N/A self template language en published True parent N/A self root_page N/A N/A N/A page publish en N/A N/A self page N/A N/A page reload N/A N/A self placeholder N/A N/A N/A N/A N/A self page placeholders all N/A 0 N/A N/A self image N/A create_image N/A N/A self image_name test_file.jpg N/A N/A self filename N/A N/A N/A os path join N/A settings FILE_UPLOAD_TEMP_DIR N/A self image_name N/A N/A N/A N/A self image save N/A self filename JPEG N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self client logout N/A N/A N/A os remove N/A self filename N/A f N/A N/A N/A File objects all N/A N/A N/A N/A f delete N/A N/A N/A N/A super CmsPluginsFilerBaseTestCase self tearDown N/A get_django_file_object N/A N/A self name N/A None N/A N/A 
        Creates django.code.files.File object and returns it, uses self.filename
        file (should exist) uses name to populate DjangoFile.name, if not
        provided uses self.image_name
        :return: django.code.files.File
         N/A N/A name None N/A N/A name N/A self image_name N/A file_obj N/A DjangoFile N/A open N/A self filename rb name name N/A file_obj N/A get_filer_object N/A N/A self filer_class file_obj N/A None None N/A N/A N/A filer_class None N/A N/A filer_class N/A getattr self filer_class File N/A N/A file_obj None N/A N/A file_obj N/A N/A self get_django_file_object N/A file_name N/A N/A N/A N/A file_obj name split / N/A -1 N/A filer_file_instance N/A filer_class file file_obj N/A N/A filer_file_instance original_filename file_name N/A N/A N/A filer_file_instance save N/A filer_file_instance N/A create_root_page N/A N/A self N/A N/A N/A root_page N/A N/A api create_page root page N/A self template N/A self language published True N/A N/A N/A api create_title de root page de root_page N/A N/A N/A root_page publish en N/A N/A N/A root_page publish de N/A N/A N/A root_page reload N/A refresh N/A N/A self instance N/A N/A N/A 
        Refresh instance from db using _meta.model
         N/A N/A N/A N/A N/A N/A instance _meta model objects get pk N/A instance pk N/A N/A