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