Ignore __repr__ method for test coverage
This commit is contained in:
parent
c2ac43d0d3
commit
4db011b7ab
@ -33,7 +33,7 @@ class AuditEvent(Base, TimestampsMixin):
|
|||||||
|
|
||||||
connection.execute(self.__table__.insert(), **attrs)
|
connection.execute(self.__table__.insert(), **attrs)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self): # pragma: no cover
|
||||||
return "<AuditEvent(name='{}', action='{}', id='{}')>".format(
|
return "<AuditEvent(name='{}', action='{}', id='{}')>".format(
|
||||||
self.display_name, self.action, self.id
|
self.display_name, self.action, self.id
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user