'Tests that adding a new placeholder to a an exising page\'s template
creates the placeholder.'

def test_create_placeholder_if_not_exist_in_template(self):

    page = create_page('Test', 'col_two.html', 'en')
    page._template_cache = 'col_three.html'
    class FakeRequest(object, ):
        current_page = page
        GET = {'language': 'en'}
    self.assertObjectDoesNotExist(page.placeholders.all(), slot='col_right')
    context = self.get_context(page=page)
    content_renderer = context['cms_content_renderer']
    content_renderer.render_page_placeholder('col_right', context, inherit=False, page=page)
    self.assertObjectExist(page.placeholders.all(), slot='col_right')
