def test_validation_with_invalid_status_raise_exception(self):
    self.voiceover_application.validate()
    self.voiceover_application.status = 'invalid_status'
    with self.assertRaisesRegexp(utils.ValidationError, 'Expected status to be among allowed choices, received invalid_status'):
        self.voiceover_application.validate()
def test_validation_with_invalid_status_raise_exception(self):
    self.voiceover_application.validate()
    self.voiceover_application.status = 'invalid_status'
    with self.assertRaisesRegexp(utils.ValidationError, 'Expected status to be among allowed choices, received invalid_status'):
        self.voiceover_application.validate()