Ignore __repr__ in models/request
This commit is contained in:
parent
d4727b08fe
commit
558cb425ae
@ -245,7 +245,7 @@ class Request(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self): #pragma: no cover
|
||||||
return "<Request(status='{}', name='{}', creator='{}', is_approved='{}', time_created='{}', id='{}')>".format(
|
return "<Request(status='{}', name='{}', creator='{}', is_approved='{}', time_created='{}', id='{}')>".format(
|
||||||
self.status_displayname,
|
self.status_displayname,
|
||||||
self.displayname,
|
self.displayname,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user