Skip to content

Commit

Permalink
CHARTBEAT_USER_ID is already set at the class level
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Davis committed Jun 29, 2011
1 parent 3391d78 commit 249dac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analytical/tests/test_tag_chartbeat.py
Expand Up @@ -31,7 +31,7 @@ def test_rendering_setup_site(self):
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)
Expand Down

0 comments on commit 249dac1

Please sign in to comment.