def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def test_base_class_accept_raises_error(self):
        with self.assertRaisesRegex(
            NotImplementedError,
            'Subclasses of BaseVoiceoverApplication should implement accept.'):
            self.base_voiceover_application.accept()