def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def test_base_class_reject_raises_error(self):
        with self.assertRaisesRegex(
            NotImplementedError,
            'Subclasses of BaseVoiceoverApplication should implement reject.'):
            self.base_voiceover_application.reject()