def test_translation_reviewers_not_needed_if_num_suggestions_eqs_max(self):
    stats = suggestion_services.get_community_contribution_stats()
    stats.set_translation_suggestion_count_for_language_code(self.sample_language_code, 2)
    stats.set_translation_reviewer_count_for_language_code(self.sample_language_code, 2)
    config_services.set_property('committer_id', 'max_number_of_suggestions_per_reviewer', 1)
    reviewers_are_needed = stats.are_translation_reviewers_needed_for_lang_code(self.sample_language_code)
    self.assertFalse(reviewers_are_needed)
def test_translation_reviewers_not_needed_if_num_suggestions_eqs_max(self):
    stats = suggestion_services.get_community_contribution_stats()
    stats.set_translation_suggestion_count_for_language_code(self.sample_language_code, 2)
    stats.set_translation_reviewer_count_for_language_code(self.sample_language_code, 2)
    config_services.set_property('committer_id', 'max_number_of_suggestions_per_reviewer', 1)
    reviewers_are_needed = stats.are_translation_reviewers_needed_for_lang_code(self.sample_language_code)
    self.assertFalse(reviewers_are_needed)