def _create_plugin(self, page=None, language=None, **plugin_params):
        if page is None:
            page = self.page
        if language is None:
            language = 'en'

        placeholder = page.placeholders.all()[0]
        plugin = api.add_plugin(
            placeholder, self.plugin_to_test, language, **plugin_params)
        page.publish(language)
        return plugin
Create plugin of type self.plugin_to_test and plugin_params in
dataset/ETHPy150Open divio/cmsplugin-filer/cmsplugin_filer_tests_shared/base.py/BasePluginTestMixin._create_plugin