mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-05-04 13:44:42 +00:00
CHARTBEAT_USER_ID is already set at the class level
This commit is contained in:
parent
3391d78773
commit
249dac1467
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class ChartbeatTagTestCaseWithSites(TagTestCase):
|
|||
call_command("syncdb", verbosity=0)
|
||||
|
||||
site = Site.objects.create(domain="test.com", name="test")
|
||||
with override_settings(SITE_ID=site.id, CHARTBEAT_USER_ID="12345"):
|
||||
with override_settings(SITE_ID=site.id):
|
||||
r = ChartbeatBottomNode().render(Context())
|
||||
self.assertTrue(re.search(
|
||||
'var _sf_async_config={.*"uid": "12345".*};', r), r)
|
||||
|
|
|
|||
Loading…
Reference in a new issue