def test_queue_ga_event_new(self):
    request = RequestFactory().get('/')
    request.session = self.client.session
    queue_ga_event(request, ['send', 'event', 'foo'])
    self.assertEqual(request.session['ga_events'], [['send', 'event', 'foo']])
def test_queue_ga_event_new(self):
    request = RequestFactory().get('/')
    request.session = self.client.session
    queue_ga_event(request, ['send', 'event', 'foo'])
    self.assertEqual(request.session['ga_events'], [['send', 'event', 'foo']])