'Test googleanalytics.pageviews_by_question().'

@patch.object(googleanalytics, '_build_request')
def test_pageviews_by_question(self, _build_request):

    execute = _build_request.return_value.get.return_value.execute
    execute.return_value = PAGEVIEWS_BY_QUESTION_RESPONSE
    pageviews = googleanalytics.pageviews_by_question(date(2013, 1, 16), date(2013, 1, 16))
    eq_(3, len(pageviews))
    eq_(3, pageviews[1])
    eq_(2, pageviews[2])
    eq_(11, pageviews[3])
