'Tests prepopulate placeholder configuration'

def test_plugins_prepopulate(self):

    conf = {'col_left': {'default_plugins': [{'plugin_type': 'TextPlugin', 'values': {'body': '<p>en    default    body    1</p>'}}, {'plugin_type': 'TextPlugin', 'values': {'body': '<p>en    default    body    2</p>'}}]}}
    with self.settings(CMS_PLACEHOLDER_CONF=conf):
        page = create_page('page_en', 'col_two.html', 'en')
        placeholder = page.placeholders.get(slot='col_left')
        context = SekizaiContext()
        context['request'] = self.get_request(language='en', page=page)
        content = _render_placeholder(placeholder, context)
        self.assertRegexpMatches(content, '^<p>en    default    body    1</p>\\s*<p>en    default    body    2</p>$')
