'Data looks about right for the \'one week\' date range.
Test two date ranges to ensure that the code is paying attention to
settings.py.'

@override_settings(CC_TOP_CONTRIB_SORT='1w')
def test_week_range(self):

    stats = get_customercare_stats()
    eq_(len(stats), 2)
    eq_(stats[0]['twitter_username'], 'curly')
    eq_(stats[1]['twitter_username'], 'moe')
    eq_(stats[0]['all'], 8)
    eq_(stats[0]['1m'], 8)
    eq_(stats[0]['1w'], 6)
    eq_(stats[0]['1d'], 0)
