Ignore __repr__ in models/request_internal_comment

This commit is contained in:
Jay Newlin (PW) 2018-12-05 11:23:39 -05:00
parent 558cb425ae
commit 75e5b2d425

View File

@ -16,7 +16,7 @@ class RequestInternalComment(Base, mixins.TimestampsMixin):
request_id = Column(ForeignKey("requests.id", ondelete="CASCADE"), nullable=False)
request = relationship("Request")
def __repr__(self):
def __repr__(self): #pragma: no cover
return "<RequestInternalComment(text='{}', user='{}', request='{}', id='{}')>".format(
self.text, self.user.full_name, self.request_id, self.id
)