'Test that `set_summary` accepts a ValidationMessage.'

def test_set_summary_accepts_validation_message(self):

    validation = StudioValidation('id')
    validation.set_summary(ValidationMessage(ValidationMessage.WARNING, u'Summary    message'))
    self.assertEqual(ValidationMessage.WARNING, validation.summary.type)
    self.assertEqual(u'Summary    message', validation.summary.text)
