Fixed ask for consent test name

This commit is contained in:
Julian Haluska 2019-01-11 23:58:01 +01:00
parent e50b247a87
commit 5c5250692a

View file

@ -152,6 +152,6 @@ class PiwikTagTestCase(TagTestCase):
self.assertTrue("_paq.push(['disableCookies']);" in r, r)
@override_settings(PIWIK_ASK_FOR_CONSENT=True)
def test_disable_cookies(self):
def test_ask_for_consent(self):
r = PiwikNode().render(Context({}))
self.assertTrue("_paq.push([\'requireConsent\']);" in r, r)