'Test filtering when counting tweets'

def test_count_replies(self):

    TweetFactory()
    id = Tweet.latest().tweet_id
    ReplyFactory(reply_to_tweet_id=id, created=datetime.now())
    ReplyFactory(reply_to_tweet_id=id, created=datetime.now())
    ReplyFactory(created=(datetime.now() - timedelta(days=1, minutes=1)))
    yesterday = (datetime.now() - timedelta(days=1))
    count_recent_answered = _count_answered_tweets(since=yesterday)
    eq_(count_recent_answered, 1)
