Ignore __repr__ in models/request_review
This commit is contained in:
parent
75e5b2d425
commit
4339385664
@ -37,7 +37,7 @@ class RequestReview(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
|
|||||||
def full_name_ccpo(self):
|
def full_name_ccpo(self):
|
||||||
return "{} {}".format(self.fname_ccpo, self.lname_ccpo)
|
return "{} {}".format(self.fname_ccpo, self.lname_ccpo)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self): #pragma: no cover
|
||||||
return "<RequestReview(status='{}', comment='{}', reviewer='{}', id='{}')>".format(
|
return "<RequestReview(status='{}', comment='{}', reviewer='{}', id='{}')>".format(
|
||||||
self.status.log_name, self.comment, self.full_name_reviewer, self.id
|
self.status.log_name, self.comment, self.full_name_reviewer, self.id
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user