def METHOD_NAME(self):
    """Assert that the Piwik script is rendered"""
    # Enable and configure Piwik
    self.config.enable_piwik_site_analytics = True
    self.config.piwik_site_id = 1234
    self.config.piwik_url = self.url
    self.config.save()
    # Accept cookies
    form_page = self.app.get(self.url)
    accept_form = form_page.forms[0]
    refreshed_form_page = accept_form.submit().follow()
    piwik = refreshed_form_page.pyquery("#piwik-analytics")
    self.assertTrue(piwik.is_("script"))