def test_validation_with_invalid_target_id_raise_exception(self):
    self.voiceover_application.validate()
    self.voiceover_application.target_id = 123
    with self.assertRaisesRegexp(utils.ValidationError, 'Expected target_id to be a string'):
        self.voiceover_application.validate()
def test_validation_with_invalid_target_id_raise_exception(self):
    self.voiceover_application.validate()
    self.voiceover_application.target_id = 123
    with self.assertRaisesRegexp(utils.ValidationError, 'Expected target_id to be a string'):
        self.voiceover_application.validate()