def test_base_class_pre_accept_validate_raises_error(self):
    with self.assertRaisesRegexp(NotImplementedError, 'Subclasses of BaseSuggestion should implement pre_accept_validate.'):
        self.base_suggestion.pre_accept_validate()
def test_base_class_pre_accept_validate_raises_error(self):
    with self.assertRaisesRegexp(NotImplementedError, 'Subclasses of BaseSuggestion should implement pre_accept_validate.'):
        self.base_suggestion.pre_accept_validate()