def METHOD_NAME(self):
    # __str__ returns name, but it did not affected __repr__
    content_type = ContentType(name=self.VALID_NAME)
    assert repr(content_type) == (
        '<ContentType: {name}>'
    ).format(name=self.VALID_NAME)