'Test the num_active_contributors util method.'

def test_num_active_contributors(self):

    start_date = self.start_date
    eq_(3, num_active_contributors(from_date=start_date, locale='en-US'))
    eq_(4, num_active_contributors(from_date=start_date, locale='es'))
    eq_(6, num_active_contributors(from_date=start_date))
    eq_(1, num_active_contributors(from_date=start_date, product=self.product))
    eq_(1, num_active_contributors(from_date=start_date, locale='en-US', product=self.product))
    eq_(0, num_active_contributors(from_date=start_date, locale='es', product=self.product))
