'Test message'

def test_model_message(self):

    contact_type = ContactType(name='test')
    contact_type.save()
    contact = Contact(name='test', contact_type=contact_type)
    contact.save()
    self.user = DjangoUser(username=self.username, password='')
    self.user.set_password(self.password)
    self.user.save()
    stream = MessageStream(name='test')
    stream.save()
    obj = Message(title='test', body='test', author=contact, stream=stream)
    obj.save()
    self.assertEquals('test', obj.title)
    self.assertNotEquals(obj.id, None)
    obj.delete()
