'Tests that {% show_uncached_placeholder %} does not populate cache.'

def test_show_uncached_placeholder_tag_no_use_cache(self):

    template = '{%    load    cms_tags    %}<h1>{%    show_uncached_placeholder    "sub"    test_page    %}</h1>'
    placeholder = self.test_page.placeholders.get(slot='sub')
    request = self.get_request(page=self.test_page)
    cache_value_before = get_placeholder_cache(placeholder, 'en', 1, request)
    output = self.render(self.test_page, template, {'test_page': self.test_page})
    cache_value_after = get_placeholder_cache(placeholder, 'en', 1, request)
    self.assertEqual(output, ('<h1>%s</h1>' % self.test_data['text_sub']))
    self.assertEqual(cache_value_before, cache_value_after)
    self.assertIsNone(cache_value_after)
